I can't think of anything that can do this on the client-side without adding JavaScript.
On the server-side, OTOH, you could store data in session variables. Sessions allow data to persist across multiple connections.
Here's a quick tutorial:
<?php
// page1.php
session_start();
$_SESSION['foo'] = 'Hello, world!';
echo '<a href="page2.php?sid='.session_id().'">Go to the next page</a>';
?>
<?php
// page2.php
session_start();
if (isset($_SESSION['foo']))
{
echo $_SESSION['foo'];
}
?>
Basically any page that needs to access session data must make a call to session_start() at the beginning of the script. session_start() must be called before any output from the script, since it makes changes to the HTTP headers.
The session id must be passed between any page that requires sessions, you can do that with the get method, as I have above. Or with the post method. By default session_start() also outputs a cookie containing the session id (this is the HTTP header change I mentioned).
Sessions are stored in a file on the server, but within a script you may set them using assignment and unset them using unset(), as you would with any other variable.
Here's the PHP manual page on sessions:
http://www.php.net/session
If you need to see more examples check out google:
http://www.google.com/search?q=php+session+tutorial
hth,
: )
Rich
::::::::::::::::::::::::::::::::::::::::::
The Spicy Peanut Project
http://www.spicypeanut.net
::::::::::::::::::::::::::::::::::::::::::