How to Pass the ASP.NET Session to PHP Page?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
tamilmani
Forum Commoner
Posts: 39
Joined: Tue Apr 01, 2008 2:53 am

How to Pass the ASP.NET Session to PHP Page?

Post by tamilmani »

Hi,

How to read the asp.net session variable in PHP ? . Is it possible in PHP ? Please any one give me idea to solve this issue.

Thanks
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Re: How to Pass the ASP.NET Session to PHP Page?

Post by Jonah Bron »

ASP and PHP sessions are not connected in any way. It is possible to do it manually though:
  1. Serialize the session data from ASP in a JSON string
  2. Store the JSON string in a database
  3. Read the JSON string from the database in PHP
  4. Deserialize the JSON string
  5. Place the data into the PHP session
tamilmani
Forum Commoner
Posts: 39
Joined: Tue Apr 01, 2008 2:53 am

Re: How to Pass the ASP.NET Session to PHP Page?

Post by tamilmani »

Ok Thanks for your kind reply . I will check now.
Post Reply