Re: Can't copy a variable from one session to another?

From: Date: Tue, 13 Apr 2004 19:39:12 +0000
Subject: Re: Can't copy a variable from one session to another?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-183260@lists.php.net to get a copy of this message
On Fri, 2004-04-09 at 16:01, Robert Cummings wrote: > If they're both on the same server then there's nothing stopping you > from loading Suirrel mail's session data in the other application and > nothing stopping you from hacking squirrel mail to load the other > session's data. Since both are on the same server, BOTH session IDs > should be available to your script if they are using cookies. If; > however, they are using URL rewriting, then there is more trickery, > either way it IS possible. Even if they're on seprate servers it is > possible via certain tricks. Well, maybe I'm being truly dense... Both apps are running on the server, I have access to both session IDs, and I'm not using any rewriting. Did you take a look at the code I posted? http://marc.theaimsgroup.com/?l=php-general&m=108150342911095&w=2 The problem is that once I start a session I am stuck with its data for the rest of the request. I haven't figured out a way to close that session and then open another one. Or, maybe, the problem is that I can't figure out any way of retrieving the session data that doesn't involve calling session_start. Am I missing something obvious? Thanks, - Scott

« previous php.general (#183260) next »