I'm not sure what to think of this. In the appliacation, upon postback,
users screens will get mixed up. Meaning... Perhaps on my screen im working
with a particular set of data. I click a button to cause a post back, then
all of the sudden someone elses data comes up. If I hit the refresh button,
my data comes back again.
Here are the details.
..aspnet app using VB.net
Developed using Visual studio 2002, converted to 2003. problem existed
before and after the conversion.
Intranet App only. No outside users.
IIS6 and IIS 5 (tried both)
A user(none in particular) logs in to my application using forms
authentication. Their ID number is stored in session. Different reports and
data are rendered based upon this Id number. At the top of every screen is
who they are based upon the Id they entered. As the user moves through the
application, clicking on various things, their screen gets mixed up with
another users within my Domain. So perhaps at the top I'm logged in as Tom
Callahan, I click a button and next thing I know I'm logged in as John
smith. If I call john smith, He doesn't see my screen necessarily. I hit
the refresh button and my screen comes back correctly. The 2 people are one
the same domain, but geographically speaking they are not necessarliy in the
same building.
This happens rarely, but it seems to be reported more often. One time, we
were holding a class with about 10 people, and about 5 of the 10 people got
someone elses screen who was in the class. and one person got someone who
was not in the class.
It seems like something on the server happens (a hiccup) or an error, then
people get switched. I thought perhaps that it had to do with someone
generating an error within the system, but I have proven that to be not
true. It's also not isolated to servers as I have moved it from a 2k3
server to a 2000 server (different box), but the problem still occured. I
have since moved it back.
Any help in this matter would be appriciated. This has stumped me for quite
a while.
Tom Callahan 4 1227
How are you storing Session? In Proc, Out of Proc, State Server, SQL Server?
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
<tc*******@coh. org> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. .. I'm not sure what to think of this. In the appliacation, upon postback, users screens will get mixed up. Meaning... Perhaps on my screen im working with a particular set of data. I click a button to cause a post back, then all of the sudden someone elses data comes up. If I hit the refresh button, my data comes back again.
Here are the details.
.aspnet app using VB.net Developed using Visual studio 2002, converted to 2003. problem existed before and after the conversion. Intranet App only. No outside users. IIS6 and IIS 5 (tried both)
A user(none in particular) logs in to my application using forms authentication. Their ID number is stored in session. Different reports and data are rendered based upon this Id number. At the top of every screen is who they are based upon the Id they entered. As the user moves through the application, clicking on various things, their screen gets mixed up with another users within my Domain. So perhaps at the top I'm logged in as Tom Callahan, I click a button and next thing I know I'm logged in as John smith. If I call john smith, He doesn't see my screen necessarily. I hit the refresh button and my screen comes back correctly. The 2 people are one the same domain, but geographically speaking they are not necessarliy in the same building.
This happens rarely, but it seems to be reported more often. One time, we were holding a class with about 10 people, and about 5 of the 10 people got someone elses screen who was in the class. and one person got someone who was not in the class.
It seems like something on the server happens (a hiccup) or an error, then people get switched. I thought perhaps that it had to do with someone generating an error within the system, but I have proven that to be not true. It's also not isolated to servers as I have moved it from a 2k3 server to a 2000 server (different box), but the problem still occured. I have since moved it back.
Any help in this matter would be appriciated. This has stumped me for quite a while.
Tom Callahan
Good Question.
InProc
<sessionState mode="InProc" stateConnection String="tcpip=1 27.0.0.1:42424"
sqlConnectionSt ring="data source=127.0.0. 1;user id=sa;password= "
cookieless="fal se" timeout="100"/>
"Kevin Spencer" <ke***@DIESPAMM ERSDIEtakempis. com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. .. How are you storing Session? In Proc, Out of Proc, State Server, SQL Server?
-- HTH,
Kevin Spencer Microsoft MVP .Net Developer Neither a follower nor a lender be.
<tc*******@coh. org> wrote in message news:%2******** ********@TK2MSF TNGP14.phx.gbl. .. I'm not sure what to think of this. In the appliacation, upon postback, users screens will get mixed up. Meaning... Perhaps on my screen im working with a particular set of data. I click a button to cause a post back, then all of the sudden someone elses data comes up. If I hit the refresh button, my data comes back again.
Here are the details.
.aspnet app using VB.net Developed using Visual studio 2002, converted to 2003. problem existed before and after the conversion. Intranet App only. No outside users. IIS6 and IIS 5 (tried both)
A user(none in particular) logs in to my application using forms authentication. Their ID number is stored in session. Different reports and data are rendered based upon this Id number. At the top of every screen is who they are based upon the Id they entered. As the user moves through the application, clicking on various things, their screen gets mixed up with another users within my Domain. So perhaps at the top I'm logged in as Tom Callahan, I click a button and next thing I know I'm logged in as John smith. If I call john smith, He doesn't see my screen necessarily. I hit the refresh button and my screen comes back correctly. The 2 people are one the same domain, but geographically speaking they are not necessarliy in the same building.
This happens rarely, but it seems to be reported more often. One time, we were holding a class with about 10 people, and about 5 of the 10 people got someone elses screen who was in the class. and one person got someone who was not in the class.
It seems like something on the server happens (a hiccup) or an error, then people get switched. I thought perhaps that it had to do with someone generating an error within the system, but I have proven that to be not true. It's also not isolated to servers as I have moved it from a 2k3 server to a 2000 server (different box), but the problem still occured. I have since moved it back.
Any help in this matter would be appriciated. This has stumped me for quite a while.
Tom Callahan
your are probably storing session values in a vb module as public
properties. as these are shared between all threads, two concurent page will
have problems, as changing in one changes for all.
-- bruce (sqlwork.com)
<tc*******@coh. org> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
| I'm not sure what to think of this. In the appliacation, upon postback,
| users screens will get mixed up. Meaning... Perhaps on my screen im
working
| with a particular set of data. I click a button to cause a post back,
then
| all of the sudden someone elses data comes up. If I hit the refresh
button,
| my data comes back again.
|
| Here are the details.
|
| .aspnet app using VB.net
| Developed using Visual studio 2002, converted to 2003. problem existed
| before and after the conversion.
| Intranet App only. No outside users.
| IIS6 and IIS 5 (tried both)
|
| A user(none in particular) logs in to my application using forms
| authentication. Their ID number is stored in session. Different reports
and
| data are rendered based upon this Id number. At the top of every screen is
| who they are based upon the Id they entered. As the user moves through
the
| application, clicking on various things, their screen gets mixed up with
| another users within my Domain. So perhaps at the top I'm logged in as
Tom
| Callahan, I click a button and next thing I know I'm logged in as John
| smith. If I call john smith, He doesn't see my screen necessarily. I
hit
| the refresh button and my screen comes back correctly. The 2 people are
one
| the same domain, but geographically speaking they are not necessarliy in
the
| same building.
|
| This happens rarely, but it seems to be reported more often. One time, we
| were holding a class with about 10 people, and about 5 of the 10 people
got
| someone elses screen who was in the class. and one person got someone who
| was not in the class.
|
| It seems like something on the server happens (a hiccup) or an error, then
| people get switched. I thought perhaps that it had to do with someone
| generating an error within the system, but I have proven that to be not
| true. It's also not isolated to servers as I have moved it from a 2k3
| server to a 2000 server (different box), but the problem still occured. I
| have since moved it back.
|
|
| Any help in this matter would be appriciated. This has stumped me for
quite
| a while.
|
|
| Tom Callahan
|
|
Bruce, You could be on to something. Her is how I am doing it.i have a
classfile called sessioninfo with this info in it
Shared Sub New()
SessionInfo.who ami_ID = String.Empty
SessionInfo.who ami_Name = String.Empty
SessionInfo.Las tPage = String.Empty
SessionInfo.Las tException = Nothing
End Sub
Public Shared Property whoami_ID() As String
Get
Return HttpContext.Cur rent.Session("w hoami_ID").ToSt ring()
End Get
Set(ByVal Value As String)
HttpContext.Cur rent.Session("w hoami_ID") = Value
End Set
End Property
then i can get or set the Session ID like so
sessioninfo.who ami_ID = whoami_id
However I do not always Get the Id the same way. I sometimes use this
method.
Id = Session("whoami _id")
Others have used the above method without any problems. Also if it is
really a problem, why is it that when the user refreshes his or her
browser, the right data comes in. its almost as if the server got confused
for a moment.
"bruce barker" <no***********@ safeco.com> wrote in message
news:e1******** ******@TK2MSFTN GP10.phx.gbl... your are probably storing session values in a vb module as public properties. as these are shared between all threads, two concurent page will have problems, as changing in one changes for all.
-- bruce (sqlwork.com)
<tc*******@coh. org> wrote in message news:%2******** ********@TK2MSF TNGP14.phx.gbl. .. | I'm not sure what to think of this. In the appliacation, upon postback, | users screens will get mixed up. Meaning... Perhaps on my screen im working | with a particular set of data. I click a button to cause a post back, then | all of the sudden someone elses data comes up. If I hit the refresh button, | my data comes back again. | | Here are the details. | | .aspnet app using VB.net | Developed using Visual studio 2002, converted to 2003. problem existed | before and after the conversion. | Intranet App only. No outside users. | IIS6 and IIS 5 (tried both) | | A user(none in particular) logs in to my application using forms | authentication. Their ID number is stored in session. Different reports and | data are rendered based upon this Id number. At the top of every screen is | who they are based upon the Id they entered. As the user moves through the | application, clicking on various things, their screen gets mixed up with | another users within my Domain. So perhaps at the top I'm logged in as Tom | Callahan, I click a button and next thing I know I'm logged in as John | smith. If I call john smith, He doesn't see my screen necessarily. I hit | the refresh button and my screen comes back correctly. The 2 people are one | the same domain, but geographically speaking they are not necessarliy in the | same building. | | This happens rarely, but it seems to be reported more often. One time, we | were holding a class with about 10 people, and about 5 of the 10 people got | someone elses screen who was in the class. and one person got someone who | was not in the class. | | It seems like something on the server happens (a hiccup) or an error, then | people get switched. I thought perhaps that it had to do with someone | generating an error within the system, but I have proven that to be not | true. It's also not isolated to servers as I have moved it from a 2k3 | server to a 2000 server (different box), but the problem still occured. I | have since moved it back. | | | Any help in this matter would be appriciated. This has stumped me for quite | a while. | | | Tom Callahan | |
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Robert Tweed |
last post by:
Does anyone know a good resource discussing the issues involved in session
theft? I've read a couple, but none that really address the problem apart
from acknowledging that it is a problem; you just don't seem to be able to
do much about it.
Does anyone have some tried-and-tested measures for preventing session
theft, that aren't already built into PHP? For that matter, what measures
_are_ already built into PHP? Are there significant...
|
by: Billy Jacobs |
last post by:
I am having a problem with my session variable being set
to Null for no apparent reason.
I am declaring it like the following when the user logs in.
dim objUserInfo as new clsUserInfo
'Set some properties
objUserInfo.UserName = txtUserName.text.trim
objUserInfo...
|
by: Werner |
last post by:
Hi Patrick!
Can you give an example of how to use a frameset inside an aspx-file?
When I create a new frameset in Visual Studio.Net it just gives me a htm-File.
Or give me a link where I can find one?
Thanks
Werner
P.S. Somehow I did not manage to do a followup in Googles newsgroups.
|
by: Shari |
last post by:
We are having a very strange problem. We have users processing
personal information, and sometimes, they will go to different page
within that person (i.e. from address details, to insurance coverage),
and all of a sudden, be looking at the data from someone else. This
is obviously causing us exposure to data integrity problems as they
may not notice this data has changed, and go ahead and save it.
We have figured out that when this...
|
by: Dirc Khan-Evans |
last post by:
I have a problem with a Session variable that dissapears after a
postback of one of my pages.
This only happens on WIn 2003 servers.. it is fine on my XP dev box.
This page opens in another window, but I have ascertained that is is
definitely using the same session ID.
Nowhere on the page do I clear the session variable.. it is only ever
retrieved... this page only works if it is there.
| |
by: Ned Balzer |
last post by:
Hi,
Apologies if this is a newbie question, I haven't found the answer in
any faqs.
I have an asp.net 2.0 page that sets session variables and then
redirects to another page. For the page that gets redirected to, I've
swapped in a simple page for testing that reads the session variables
and displays their values.
|
by: Big Daddy |
last post by:
We have a problem where the session is getting abandoned for no
apparent reason. It's not timing out. We save some important data in
the Session object. The user will click on something, causing a
postback, and there will be nothing in the Session object. The session
is getting restarted with the same session ID. Since we haven't been
able to stop this from happening, we would like to just reconnect the
user to their old session data. ...
|
by: SAL |
last post by:
Okay, don't bash me to hard for my design on this app, it's my first web app
and it's in production.
My basic design is using Datatables created via the designer with a business
logic class in between the datatable and ObjectDataSources.
In one page I had a Gridview with select enabled. When an row in the grid is
selected, I retrieve the SelectedValue, store the value in a Session
variable and redirect the response to another web page,...
|
by: =?Utf-8?B?QnJlbmRhbiBLYXk=?= |
last post by:
Hi there,
We have an ASP.Net application that is generating huge numbers of Context
Switches when a certain number of active users are present. We tried changing
the configuration of the Application Pool to use a Web Garden and the number
of Context Switches decreased by more than 95% (that's the good news).
Our problem is that we have something in our session state that cannot be
serialized and therefore we cannot use StateServer for...
|
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...
|
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...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |
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...
| |