472,334 Members | 1,544 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,334 software developers and data experts.

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 1387
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Keith Patrick | last post by:
I have an app (A) that has a link to another (B) app that it spawns in a new window. The new window has a link back to app A, opening a third...
4
by: Daniel | last post by:
Hi I am having a problem sharing session between SSL and non-SSL asp.net pages I have F5 BigIP with sticky sessions working fine, but the problem...
3
by: Mark | last post by:
Ok, I know that .net inherently does not share session data across asp.net projects, but is there any decent work around to this. We already have a...
6
by: Andrew Robinson | last post by:
I am running two servers with a hardware network load balancing device. I know that to share session information between the two servers I need to...
3
by: CharlieHoo | last post by:
Hello, How to share session state between two or more ASP.NET applications in the same server or different ones? Thanks a lot. Charlie
7
by: Doug | last post by:
An ASP.NET session cookie set on "www.mydomain.com" can not be accessed on "search.mydomain.com"; hence, a new session and cookie are being created...
5
by: Soren S. Jorgensen | last post by:
Hi, I've got a web-app thats activated by a call to a aspx page from ASP, I need to go back to the ASP session and get some simple data saved in...
7
by: Nils Hedström | last post by:
I have a web farm that uses a state server for session management. A user logs on to a website (www1.mysite.com). When the same user visits...
7
by: Victor | last post by:
I've got two domain names sharing the same IP address that use ASP VBScript If I set a session variable with domain 1, it is only available for...
8
by: antonyliu2002 | last post by:
We are extending a web application written in classic ASP long time ago. We will add more components to this web application in ASP.NET 2.0. To...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.