That's exactly what sessions are for, check out http://www.php.net/manual/en/ref.session.php for more info about using sesions.
> Hi, > I have a menu, where I would like to be able to store which link the user > last pressed. What is the best way of doing this? I thought about sessions, > but is it possible to define some sort of global variable that I can access > from all my pages? > > Regards, > Morten > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php