Solved

Share ASP sessions with PHP?

Posted on 2006-07-09
3
217 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

688 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