Re: Session from php in ASP

From: Date: Fri, 17 Mar 2006 17:58:34 +0000
Subject: Re: Session from php in ASP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-232145@lists.php.net to get a copy of this message
PHP and ASP both have built in session handling. The only problem is, they instantiate the sessions themselves. Therefore, whenever you hit a page in ASP you'll start one session, but if you immediately hit a PHP page on the same server in the same browser from the same machine, you start a brand spanking new PHP session. It'd be possible to write a handler that wrote information in and out of cookies and a DB and effectively merge the two systems into using the same handler. Alternatively, you could use (un)serialize(); in PHP (along with the ASP equivalent) to store data in files, but I don't see that as being as efficient for this scenario. -Myk OLeary myko@blueneedle.com BLOG: http://www.blueneedle.com/wordpress/?bnphplists On Mar 17, 2006, at 4:22 AM, Stefan wrote:
Hi NG is it possible to get a Sessionvariable set in php read in an asp-file with the tag <%= Session(php) %>? Thanks in advance Stefan --PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#232145) next »