Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Passing variables from one page to another


  • From: Pack.Geoff at abc.net.au (Geoff Pack)
  • Subject: [Javascript] Passing variables from one page to another
  • Date: Wed Dec 27 18:29:27 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
==============================================================================