RE: [PHP] Session in ASP cannot be accessed by PHP, and vice vers a?

From: Date: Mon, 16 Oct 2000 13:18:52 +0000
Subject: RE: [PHP] Session in ASP cannot be accessed by PHP, and vice vers a?
Groups: php.general 
Request: Send a blank email to php-general+get-20360@lists.php.net to get a copy of this message
Since they are completely different environments that were never intended to communicate with each other, I believe that only recourse you will have is to store data into a database for transfer between the two environments. It will be a bit less convenient, but I'm sure some method can be created to make life easier, such as an object oriented method where all variables are stored into the object and automagically saved to the database, the reverse could be accomplished to get data back out. Hope that helps. Chris -----Original Message----- From: Lars Torben Wilson [mailto:torben@pinc.com] Sent: Friday, October 13, 2000 4:45 AM To: Ben Heuer Cc: php-general@lists.php.net Subject: Re: [PHP] Session in ASP cannot be accessed by PHP, and vice versa? Ben Heuer writes: > Hi, > > When I create a session in ASP > > Session("Test") = "This is a test" > > I cannot access it in PHP? > > Is there a way I can make the two talk to each other? > > Thanks! > B They are completely different programs from different vendors, at least one of whom displays...er...little interest, shall we say, in coding for high interoperability. :) That is, not easily, AFAIK. I don't know whether you could get some sort of interprocess communication or pipe thing going on--I really have no idea what ASP's capabilities are for that sort of thing. How does ASP store its sessions? (I'm just dribbling ideas--like I've said, I have no idea how ASP works at this level and so these are just ideas.) Anyway, since you can manipulate PHP's session support by writing your own functions, perhaps you could write an interoperable session manager in PHP. Anyway, are you really sure you need to do that? -- +----------------------------------------------------------------+ |Torben Wilson <torben@php.net> Netmill iTech| |http://www.coastnet.com/~torben http://www.netmill.fi| |Ph: 1 250 383-9735 torben@netmill.fi| +----------------------------------------------------------------+ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#20360) next »