469,609 Members | 1,657 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,609 developers. It's quick & easy.

Session Sharing : ASP and ASP.NET

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
Nov 18 '05 #1
3 1326
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
"Amit S. Jamgade" <aj******@dc.com> wrote in message
news:07****************************@phx.gbl...
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

Nov 18 '05 #2

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 ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #3
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

"Amit Jamgade" <aj******@dc.com> wrote in message
news:%2******************@TK2MSFTNGP10.phx.gbl...

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 ***
Don't just participate in USENET...get rewarded for it!

Nov 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Keith Patrick | last post: by
4 posts views Thread by Daniel | last post: by
3 posts views Thread by Mark | last post: by
6 posts views Thread by Andrew Robinson | last post: by
3 posts views Thread by CharlieHoo | last post: by
5 posts views Thread by Soren S. Jorgensen | last post: by
8 posts views Thread by antonyliu2002 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.