| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|login design - forwarding to last visited page after login|
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?
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.
thanks for the info.
How do you handle POSTS URLs?
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved