1

Topic: Login Redirection?

Hey, I'm attempting to intergrate my website with PunBB, where users cant view any pages other than the index without being logged in. Using the code in http://punbb.org/forums/viewtopic.php?id=6513 I was able to do it pretty easily. However, having it forward to the index of the forum when a user logs in is a little annoying. It is possible to have it display the page that the user logged in from? Cheers in advanced. ^.^

2 (edited by miowpro 2005-04-19 04:18)

Re: Login Redirection?

yes yes, i also am going to need to do this?

Re: Login Redirection?

Just send along the variable redirect_url in a hidden form field and it should redirect that to that page.

"Programming is like sex: one mistake and you have to support it for the rest of your life."