Re: sharing sessions between php and asp
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: sharing sessions between php and asp

From: Alvaro G Vicario <alvaro_QUITAR_REMOVE@telecomputeronline.com>
Date: Mon Jul 04 2005 - 14:03:30 CEST

*** somaboy mx wrote/escribió (Mon, 4 Jul 2005 12:22:42 +0200):
> I'm working on a site which contains a lot of legacy ASP VBScript code.
>
> My intention is to recreate and expand the site's functionality in PHP5. I'm
> doing this in phases, so in the meantime there will be ASP's running
> alongside PHP scripts - this is not a problem since the host is an IIS with
> PHP support.
>
> For some parts session variables need to be stored and retrieved, and I was
> wondering if there's some way of accessing a session started in ASP from a
> PHP script, and the other way round?

You can write your own session handler in PHP but I believe you need some C
lang coding. Alternatively, this function may help:

session_set_save_handler()

However, I don't have the faintest idea of how IIS stores session data.

-- 
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--
Received on Mon Oct 17 21:01:58 2005