Solved

Share ASP sessions with PHP?

Posted on 2006-07-09
3
215 Views
Last Modified: 2008-03-17
Is it possible to have PHp read a session created with ASP?
Both applications are running on IIS 5.0.
0
Comment
Question by:SilvioF
3 Comments
 
LVL 34

Accepted Solution

by:
Dave_Dietz earned 50 total points
ID: 17070212
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
The viewer will learn how to count occurrences of each item in an array.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question