[thelist] Carrying Javascript values over

Dan Frey danieljohnfrey at yahoo.com
Thu Mar 18 22:05:41 CST 2004


Alexis - 

No can do on carrying the values over with straight JS.  I think your
best bet might be a cookie - any PHP will be done before your JS ever
begins.

HTH, 
Dan

==========

My question is, when the user "re-load's" the page, be it submitting on 
a form or by using a hyperlink, or just plain 'F5' is there a way to 
carry the values set by Javascript 'over' to the newly loaded page?

I've done a search on Google, but can't find anything, and was thinking 
about creating a session and storing the values in it, just before the 
page is exited and then retrieving them before the page loads, but how 
could I go about storing the values in a session when they are set and 
retrieved by Javascript?

FYI I am using PHP to do the main site development.

TIA
Alexis 



More information about the thelist mailing list