Click here to Skip to main content
15,891,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
We have an ASP.NET Project which we are planning to convert to PHP. As this project is quiet big one, we are planning to migrate page by page. My questions are can I include php page in ASP.NET application and host in IIS? Also can I Access Session in PHP which is initiated by ASP.net page?

What I have tried:

I tried to create a sample asp.net project which I included a PHP page. Not worked for me. Should I need to Add any extension for PHP in IIS?
Posted
Updated 4-Mar-16 4:20am
Comments
Sinisa Hajnal 4-Mar-16 3:38am    
You probably cannot access the session, but you may be able to access cookies. Or at worst, database shared table.

1 solution

Sinisa is right, you cannot access session. You'll need to create a database table that stores whatever information you want to share. You can pass things through querystring also.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900