August 09, 2020, 02:53:42 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register  
Pages: [1]
Author Topic: Redirecting after login  (Read 3887 times)
Posts: 1

« on: December 29, 2008, 02:32:43 PM »


I have just discovered this great scripts and am now trying to implement it into my website. In the whole the script is working, but I have a problem with the redirection after login. Let me briefly sketch what I want:

My website is a public site, but now I would like to add a number of page for members alone:
http://www.mysite.com --> Public
http://www.mysite.com/members/index.php --> Members

I managed to add the password login whenever I surf to http://www.mysite.com/members/index.php, but when I click on SUBMIT on the login form, I get redirected to http://www.mysite.com. How can I make it that the redirect is to the actual URL I surfed to?

Thanks in advance!

PS: in settings.php you can change an URL to be redirected to when login out, but not for login in...

Pages: [1]
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC