Zubrag.com
May 21, 2019, 09:33:11 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]
  Print  
Author Topic: Redirecting after login  (Read 3316 times)
gawariel
Newbie
*
Posts: 1


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

Hello!

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...

Logged
Pages: [1]
  Print  
 
Jump to:  

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