Share ASP sessions with PHP?

Is it possible to have PHp read a session created with ASP?
Both applications are running on IIS 5.0.
Silvio FumeiSystem Business DeveloperAsked:
Who is Participating?
Dave_DietzConnect With a Mentor Commented:
Short answer: no.

ASP and PHP are both ISAPI extensions (or possibly a CGI in the case of PHP depending on specific configuration)

Neither can access internal structures of the other.

Longer answer: yes, but it would be really ugly.....

You could have an ASP page write out particular variable or whatever information you need accessed to a file on the drive and then have PHP read in that same info, but this could get messy if you have a lot of concurrent requests.  You could also write some sort of COM object that would act as a data stor and have each subsystem read/write data to it that could be accessed by the other.

Dave Dietz
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.