sagaticus
07-26-2007, 10:52 PM
If a user pastes a session-needed url into into their address bar, they'll hit the page and the script checks to see the logged in value in the cookie. If it's set, the pages loads, if it's not set user gets the login form.
OK, all fine, but once the user logs in, they hit a welcome page instead of the initial URL they entered to the address bar.
Any ideas on how to store this URL value they enter? And write in php, if this value is not null... display this page... otherwise if null display the welcome page?
OK, all fine, but once the user logs in, they hit a welcome page instead of the initial URL they entered to the address bar.
Any ideas on how to store this URL value they enter? And write in php, if this value is not null... display this page... otherwise if null display the welcome page?