Solved

Share ASP sessions with PHP?

Posted on 2006-07-09
3
213 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Accessibility and Usability are two concepts that seem to be closely related.  But, too many people seem to have a distorted perception of them. During last five years, those two words have come to the day-to-day work of almost every web develope…
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now