News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Url redirect after loggin in/out

Started by kjappert, December 13, 2005, 04:43:33 AM

Previous topic - Next topic

kjappert

Good morning,

I have a question, i am using SMF 1.1  in combination with Mkportal 1.1RC. The problem is the logging in and out. I Have been looking for 10 days, i am looking for the peice of code where i can change the url redirect after logging in or out.

Jasper

Oldiesmann

Set $_SESSION['login_url'] someplace to redirect them to the specified url when they login, and $_SESSION['logout_url'] to redirect them when they logout.

kjappert

Quote from: Oldiesmann on December 13, 2005, 09:28:30 AM
Set $_SESSION['login_url'] someplace to redirect them to the specified url when they login, and $_SESSION['logout_url'] to redirect them when they logout.

Thanks for that! Now i now what to look for, but it would be very fine if i would now in witch file to search??

Somebody can help me??

kjappert

there's realy nobody that can help me? :'(

Advertisement: