Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Return to the last visited page

Status
Not open for further replies.

navosavo

Technical User
Jul 13, 2002
5
GB
Is it possible to direct a visitor to the page he/she last visted after the visitor has logged off and logs on again say after 24 hrs?
 
You'd have to set a cookie on the users machine that held the info. When they log back in, you'd read the cookie and send them on the way.

But think about this, what if the user doesn't want to go to the last page they were on? Maybe they saw something on the index page but didn't have a chance to get there yesterday? Or, maybe they don't allow cookies to be written to their machine!

If you're stuck on doing this, you might want to provide it as an option rather than a mandatory function of your site. There's always a better way...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top