Session Sharing : ASP and ASP.NET

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
 
A

Alvin Bruney

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.
 
A

Amit Jamgade

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
 
J

Jeff

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top