[Javascript] Passing variables from one page to another

Geoff Pack Pack.Geoff at abc.net.au
Wed Dec 27 17:22:19 CST 2006


You can use cookies client-side with javascript: you don't need
server-side code if you don't want it.

Another alternative is to send the variables as part of a query string
in the URL, and extract them with location.search

Here's an old and badly coded example, but it shows the basic idea:
http://www.virtualgeoff.com/junkyard/miscellaneous/location/index.html

cheers,
Geoff



==============================================================================
The information contained in this email and any attachment is confidential and
may contain legally privileged or copyright material.   It is intended only for
the use of the addressee(s).  If you are not the intended recipient of this
email, you are not permitted to disseminate, distribute or copy this email or
any attachments.  If you have received this message in error, please notify the
sender immediately and delete this email from your system.  The ABC does not
represent or warrant that this transmission is secure or virus free.   Before
opening any attachment you should check for viruses.  The ABC's liability is
limited to resupplying any email and attachments
==============================================================================



More information about the Javascript mailing list