[jQuery] Re: Change Window Location, and Send REQUEST or POST Info?

2009-12-20 Thread aaronjacobstew...@gmail.com
Absolutely, you can create a form with hidden fields on the page that POSTS its values to the server, or you can initiate an AJAX request with the current page and store it server side in the session, or you can simply write the current pre-login page out to a cookie, and have the login page redire

[jQuery] Re: Change Window Location, and Send REQUEST or POST Info?

2009-12-20 Thread Vik
That's a great tip. Thanks, Brian. I'll look into it. On Dec 19, 8:04 pm, brian wrote: > Just start a session by default for any user. Once the user has logged > in, create a new session or simply write new values to it. > > When the user requests a page, some code of yours must be evaluating > w

Re: [jQuery] Re: Change Window Location, and Send REQUEST or POST Info?

2009-12-19 Thread brian
Just start a session by default for any user. Once the user has logged in, create a new session or simply write new values to it. When the user requests a page, some code of yours must be evaluating whether a login is necessary. Ergo, the URL is known to your script. So, you can then write the URL

[jQuery] Re: Change Window Location, and Send REQUEST or POST Info?

2009-12-19 Thread Vik
There is no session yet; the user has not yet logged in. There is no way to write the requested URL to a hidden input in the login form, because the login form isn''t up yet - the user is visiting some other page. On Dec 19, 3:58 pm, brian wrote: > I would do all of this server-side. Have your PH