Re: Session from php in ASP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx
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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux