473,698 Members | 2,153 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why am I getting two different session ID's?

I have a web farm consisting of multiple servers running exactly the
same asp.net application, with names like www1.domain.com ,
www2.domain.com , through wwwn.domain.com . When I visit www1, I could be
brought to www2 by clicking one of the links on the page. But after the
transfer to www2, I got a new session ID and could not recover
whatever I saved when I was on www1. I can actually see the new entry
added in the database for the new session. Session worked OK across
pages if I stay on the same server. I'm using SQl server session state,
here is what I have done,

1. Modified web.config, specifying sql server session state, and set up
a sql server for that purpose,

2. Used the same machine key section in web.config across all web
servers,

3. Changed application path on all servers to the same path,

Any suggestions? Help!

Dec 7 '05 #1
1 1547
I am new to the web farm scence and would need your help on point 3
(Changed application path on all servers to the same path). Can you
please tell me the step needed to change the application path.

thanks

Dec 14 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
3110
by: Steve | last post by:
Hi, I need to be able to open another browser from within an already opened browser with a completely new session (using the same session variables). How can I do this? In essence, I want to allow a (super) user to be logged in as another user but without closing his/her own original session. I've tried everything but the new browser overwrites the old session variables. I even tried 'regenerating' a new session ID but the new ID...
0
527
by: Shiv | last post by:
I have a servlet driven web application using ServletExec 4.2 AS, IIS 4.0 as the platform. Some user data is stored is persisted in a user object at the beginning of the session which includes use rid, client id etc. There have been intermittent problems with the application, when for a split second, one user suddenly gets somebody elses data like name etc. As soon as the user refreshes the page the problem goes away. Initially we...
2
2840
by: Alex | last post by:
Hi all, I'm writing a small web application which searches a database based on a date field, and populates a datagrid control with the results. The datagrid control has selection buttons added to it to view additional details about the selected result (a second database query is triggered). I want this second query to pop up in a new window, the way it would if I used "window.open" in javascript. I've added a function in the
0
1320
by: Grant Rettke | last post by:
Hi folks, ASP.NET 1.1 question for you folks. I'm working on a web aplication that stores some objects in the session. What is happening is that after I reach a certain page, the session is reset. Here is the information: 1. Cookies are enabled. 2. Session is 'InProc'.
0
918
by: hxc98 | last post by:
I have a web farm consisting of multiple servers running exactly the same asp.net application, with names like www1.domain.com, www2.domain.com, through wwwn.domain.com. When I visit www1, I could be brought to www2 by clicking one of the links on the page. But after the transfer to www2, I got a new session ID and could not recover whatever I saved when I was on www1. I can actually see the new entry added in the database for the new...
1
3450
by: David Gaudine | last post by:
(This is a bit like the recent thread "PHP Switching Sessions".) I use session_start(). When I open my web-based application in two windows on the same system, there's a definite clash; I can't do two independent sessions because the session variables are shared. I solved that the easy way, by not opening two windows. But then I went on to write more applications, and found that if I use the same variable names (for session variables)...
5
1768
by: The Cool Geek | last post by:
I'm building a dynamic site that has 3 data bases. One DB contains all of my store info ID#, Name, Address, Phone. Another DB contains member info ID, Name, address, email,phone,etc... The 3rd DB Tracks when a user logs in and logs out at a store. This DB has the following columns Store ID, Member ID, log in time,log out time, time in store. The stores log in in the morning that starts a session-I need the session to pull the store's...
43
3416
by: davidkoree | last post by:
I mean not about cookie. Does it have something to do with operating system or browser plugin? I appreciate any help.
2
1419
by: sugapablo | last post by:
I have a server where two different users are each running a different web application. I installed SugarCRM for one, and Info@Hand (built from SugarCRM) for the other. Both are trying to save and access the same file in the PHP session_save_path (/tmp/ sess_c2b09aac9b607b1df05d73c7f1c4cbb1). If I delete that file, the whichever app runs first, saves data under that filename and the other will fail. They both keep regenerating the...
0
8674
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9157
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9026
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6518
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4366
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3045
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2328
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.