Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Perl Win32 Apache/IIS Session Management

by $code or die (Deacon)
on Jan 16, 2002 at 16:55 UTC ( #139188=note: print w/replies, xml ) Need Help??


in reply to Perl Win32 Apache/IIS Session Management

I don't think you can access ASP session data from anywhere other than an ASP within that application. You can't even share the data between websites on the same IIS server.

You could iterate through the Session collection, and save the data to disk or database before passing the user to the apache site. And just pass them over with a unique id that's difficult to guess - perhaps an MD5 hash of some sort. Then in the Apache application, query the database or file and read in the session data to your favorite Apache Session manager.

The problem is that if you pass the user back to the parent application, the Session might have expired by then, forcing the user to log in again. So you might need to increase the Session time in IIS. I would look in to whether it's possible to move your new application to IIS, or the original application to Apache - it might make things easier.



Simon Flack ($code or die)
$,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$,
=~y'_"' ';eval"die";print $_,lc substr$@,0,3;
  • Comment on Re: Perl Win32 Apache/IIS Session Management

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://139188]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2021-10-25 05:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?