Not really, but you could... You would somehow have to get the session id from user 2 to user 3 (this would depend how your site worked). Then you could access the session variables - it depends how your sessions are stored. If they were stored in a database, then you could read them (by default they're in /tmp, in a fairly easy to follow format). I probably wouldn't recommend changing the variables in there (/tmp) though - but you could if they were held in a database. I believe you can change the "session handler" in order to do this, but I've never done it.
Dave. > -----Original Message----- > From: Alex Vargas [mailto:[EMAIL PROTECTED]] > Sent: 28 December 2001 02:23 > To: [EMAIL PROTECTED] > Subject: [PHP] Modify someone else's session register > > > Hi. > > Let's suppose I have 3 users in my site, each of them generating their > respective session variables. Assuming I have a session variable named > $variable, I'll end up in the server with 3 values: $variable_1, > $variable_2 > and $variable_3. > > My question is: is there a way I can change let's say the variable of the > second user when the third user is running the php script? Can I > access (and > change) the session registers generated by the users? > > Thanks for your help, > > Alex. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]