• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 220
  • Last Modified:

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.
0
SilvioF
Asked:
SilvioF
1 Solution
 
Dave_DietzCommented:
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
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now