Groups | Blog | Home
all groups > asp.net > november 2003 >

asp.net : Session Sharing : ASP and ASP.NET


Amit S. Jamgade
11/25/2003 10:07:16 PM
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,
Alvin Bruney
11/26/2003 10:43:48 AM
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.

--
Regards,
Alvin Bruney
Got DotNet? Get it here
www.networkip.net/tidbits
[quoted text, click to view]

Amit Jamgade
11/26/2003 8:50:55 PM

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

*** Sent via Developersdex http://www.developersdex.com ***
Jeff
11/28/2003 10:18:39 AM
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

[quoted text, click to view]

AddThis Social Bookmark Button