Hi,

I have two applications on different servers. One application is on LAMP
environment and other one is on ASP.Net 4.0 with IIS7. Main application is
in PHP whereas ASP.Net application is just a module of PHP application.

Both of the applications would be sharing same Database which is in MySQL.

I need to share sessions across the servers. Has anyone done this before? I
have few thoughts on this -

1. Create Seesion table in MySQL database and let PHP and ASP.Net
read/write session into this table. *=> For this PHP code would need to be
changed. Client may not be agreed for this. *

2. Since PHP stores sessions in file, write web service on PHP server which
would read/write session details to the session files. ASP.Net Application
can consume this service to read/write sessions.Service would accept
 "PHPSessionId" as an input parameter.

3. Give direct access to ASP.Net application to read/write PHP Session
files which are on PHP server. *=> Not sure giving permission to session
files would be a great idea.*
*
*
*
*
Looking forward your advice whether any point mentioned above makes sense
or any other best suits as per your experience.



Thanx.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net

--- 
You received this message because you are subscribed to the Google Groups 
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web 
Services,.NET Remoting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to