Welcome to WebmasterWorld Guest from 23.22.220.37

Forum Moderators: ergophobe

Message Too Old, No Replies

login design - forwarding to last visited page after login

     
3:46 pm on Jul 23, 2007 (gmt 0)

Junior Member

5+ Year Member

joined:Apr 18, 2006
posts:115
votes: 0


How would you go about implementing this in a custom application?

Ive been thinking about this, and the tracking of current URL can either be done server-side or client-side.

I feel client-side is the easiest with JS and use validation on server-side to ensure that we are only forwarding within our own domain and thus not acting as a proxy.

Thougts? Implementation samples? etc?

4:27 pm on July 23, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 21, 2005
posts:1526
votes: 0


JS is the best way, but I always like to put in a non-JS execution path.

One of the tricks I do is to use JS to create a session cookie earlier on. This cookie then tells the server whether or not the client has JS.

I also do this for AJAX studliness.

7:00 am on July 24, 2007 (gmt 0)

Junior Member

5+ Year Member

joined:Apr 18, 2006
posts: 115
votes: 0


thanks for the info.

How do you handle POSTS URLs?

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members