473,724 Members | 2,246 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Session state issue

Hi,

I'm using .net 1.1. I have ASP.Net appl, shopping cart ,with dataset on
sesion. Dataset here to store all selected items, sesion timeout 120 mins.

Problem is, I got report that: user A select 5 items then close browser,
other user B go to the website it will show 5 items directly. More over user
B is not using same PC, not on same network, reported from different country,
incredible report..

How can this happened, any idea? Could it be becuase non unique session id,
how to prevent?

Thanks a lots,
Martin Adhie N.
Apr 1 '06 #1
3 2241
Probably because you're storing something in the application object,
where it's available to all users, instead of in the session object.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"prof_marti n" <pr********@dis cussions.micros oft.com> wrote in message
news:91******** *************** ***********@mic rosoft.com...
Hi,

I'm using .net 1.1. I have ASP.Net appl, shopping cart ,with dataset on
sesion. Dataset here to store all selected items, sesion timeout 120 mins.

Problem is, I got report that: user A select 5 items then close browser,
other user B go to the website it will show 5 items directly. More over user
B is not using same PC, not on same network, reported from different country,
incredible report..

How can this happened, any idea? Could it be becuase non unique session id,
how to prevent?

Thanks a lots,
Martin Adhie N.

Apr 1 '06 #2
Hi Juan,

For sure I didn't put anything on application object. session state
cookieless=fals e. Confirm that session is unique for PC and browser (some
condition will re-use session id for browser). Is it too long session expired
(120mins), so will generate duplicated sessionid.

Thanks, Martin

"Juan T. Llibre" wrote:
Probably because you're storing something in the application object,
where it's available to all users, instead of in the session object.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"prof_marti n" <pr********@dis cussions.micros oft.com> wrote in message
news:91******** *************** ***********@mic rosoft.com...
Hi,

I'm using .net 1.1. I have ASP.Net appl, shopping cart ,with dataset on
sesion. Dataset here to store all selected items, sesion timeout 120 mins.

Problem is, I got report that: user A select 5 items then close browser,
other user B go to the website it will show 5 items directly. More over user
B is not using same PC, not on same network, reported from different country,
incredible report..

How can this happened, any idea? Could it be becuase non unique session id,
how to prevent?

Thanks a lots,
Martin Adhie N.


Apr 1 '06 #3
It's not getting these values by accident. You must have code in there which
is storing and retreiving these values, or else your report is I suggest to
be suspected.

--
Terry Burns
http://TrainingOn.net
"prof_marti n" <pr********@dis cussions.micros oft.com> wrote in message
news:46******** *************** ***********@mic rosoft.com...
Hi Juan,

For sure I didn't put anything on application object. session state
cookieless=fals e. Confirm that session is unique for PC and browser (some
condition will re-use session id for browser). Is it too long session
expired
(120mins), so will generate duplicated sessionid.

Thanks, Martin

"Juan T. Llibre" wrote:
Probably because you're storing something in the application object,
where it's available to all users, instead of in the session object.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"prof_marti n" <pr********@dis cussions.micros oft.com> wrote in message
news:91******** *************** ***********@mic rosoft.com...
> Hi,
>
> I'm using .net 1.1. I have ASP.Net appl, shopping cart ,with dataset on
> sesion. Dataset here to store all selected items, sesion timeout 120
> mins.
>
> Problem is, I got report that: user A select 5 items then close
> browser,
> other user B go to the website it will show 5 items directly. More over
> user
> B is not using same PC, not on same network, reported from different
> country,
> incredible report..
>
> How can this happened, any idea? Could it be becuase non unique session
> id,
> how to prevent?
>
> Thanks a lots,
> Martin Adhie N.


Apr 1 '06 #4

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

Similar topics

3
6031
by: Nhi Lam | last post by:
Hi, I understand that there are 3 modes in which I can configure the SessionStateModule. What I need is an out of process Session State store with fail over support. The "SQL Server Mode" seems to be it, but I heard there is quite a bit of degradation in performance for using this mode. My next option is the "State Server Mode". However, this mode does not give me the fail over support. Is there anything that I can do the enhance the...
2
2183
by: John A Grandy | last post by:
for high traffic public websites , what are the proven options for session-state storage & management ? is an out-of-process state-server generally preferred over a sql-server ? what are the relevant criteria ? is the primary criteria max expected total storage size (for all active sessions) versus max ram available on the state-server machine ? if ADO.NET objects (such as small DataTables) must be stored in session-state , is any...
5
2199
by: ASP.Confused | last post by:
As you can tell from my previous posts on this issue...I'm really confused :-/ I have a few ASP.NET web applications on my web host's "https" server. Our web host has a single "bin" folder for me to toss my assemblies into. We keep loosing session state every few months. People have told me that my app could be running out of memory, causing the sessions to get reset. Well, if this is the case, then when I go to the page again,...
5
5283
by: fbwhite | last post by:
I know this issue has been brought up many times, but I have tried many of the solutions to no avail. I wanted to give my specific case to see if someone could be of any help. We are using the sessionstate inproc mode and users are randomly losing their session. I do not believe it is happening across all users at one time. It seems to happen to different users at different times, but I am only going off heresay. The aspnet worker...
4
9572
by: Abi | last post by:
We able to generate this error in our test environment and were able to research this enough to understand that the issue is NOT with an abject that needs to be serialized but rather as the stack trace suggests that the server (in the web farm) ran out of memory while attempting to stream data to an ASP Session State database (SQL Server 2000) . Our test environment consists of: - 3 web servers Load Balanced - SQL Server 2000 Database...
9
2217
by: cashdeskmac | last post by:
I have put a string into Session and tried to retrieve it on the next page I visit but the Session appears empty. I have exactly the same spelling for both adding and retrieving the value: Session = "john"; On the next page: txtName.Text = Session;
18
3441
by: BillE | last post by:
When a user opens a new IE browser window using File-New-Window the integrity of an application which relies on session state is COMPLETELY undermined. Anyone who overlooks the fact that File-New-Window creates an instance of IE in the same process with the same SessionID as the parent window is in big trouble. This fundamentally restricts the usefullness of using session state management. I probably missed it somewhere - can...
11
7914
by: Joseph Geretz | last post by:
I've been looking at two approaches for the maintenance of Session state for a Web Service application. One approach uses the old familiar Session object which I've used in the past for Web applications. As far as I can see, the Session approach is non-standard since Web Services are supposed to be agnostic with respect to their clients. It seems that cookies are outside the Web Service standard; therefore, such a Web Service application...
14
2300
by: GaryDean | last post by:
The web.config in my asp.net application, running on Server2003, has this entry: <sessionState mode="InProc" timeout="40". In IIS the asp.net State Management timeout setting is 40 for my website. In IIS the virtual directory configuration setting is set to 40. The application still timesout at 20 minutes. What else can I do? --
0
8868
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
9388
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
9241
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
9160
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
4504
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
4764
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3209
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
2612
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2149
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.