Session Sharing : ASP and ASP.NET

  • Thread starter Thread starter Amit S. Jamgade
  • Start date Start date
A

Amit S. Jamgade

Hi All,
I am trying to share the session between classic ASP and
ASP.Net application. For session sharing I used the
method available on this link:
http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/dnaspp/html/ConvertToASPNET.asp

I would like to know if this method works in Web Farm
Scenario also.

Thanks & Regards,
Amit
 
What state are you running? outofproc? Inproc will not work in a web farm
scenario. out of proc or sqlserver will work because the different worker
processes running on different servers will need to be able to 'see' the
session variables for serialization to succeed. If you haven't tampered with
the webconfig settings, you will not be able to use this for a webfarm
scenario.
 
Hi ,

The mode for OutofProc will be set in webconfig file but I am concerned
about setting the webfarm scenario for the classic ASP application.
Since at a time both the asp as well as aspx pages will be running in
the application.
And moreover we are using the Oracle 9i as database.

Can I still share the session in the webfarm scenario.

Regards,
Amit
 
You will have to enable server affinity in the web farm. This forces a user
to always go to a single server in the web farm for their session. Without
this option, ASP session cannot work in a web farm.

Jeff
 
Back
Top