Confused about sessions

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
riley
Forum Commoner
Posts: 45
Joined: Thu May 02, 2002 6:31 pm

Confused about sessions

Post by riley »

I am trying to use session varibles to keep track of values so I can always get the user back to a page with their previous selected varibles without passing hidden or get varibles. My question has to do with how to change the session varibles without using "get"? Normally the user will have multiple uid choices to the next page using a dynamically created link with a unique ID in the get string. (ie http://www.site.com/page.php?uid=1234 which could be completely different from the uid that they are presently using). I want to change the session varible uid to the new value.
User avatar
hob_goblin
Forum Regular
Posts: 978
Joined: Sun Apr 28, 2002 9:53 pm
Contact:

Post by hob_goblin »

I don't see why you'd want to do this, but check out

http://www.php.net/manual/en/function.session-id.php
Post Reply