468,765 Members | 1,710 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

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 1949
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_martin" <pr********@discussions.microsoft.com> wrote in message
news:91**********************************@microsof t.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=false. 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_martin" <pr********@discussions.microsoft.com> wrote in message
news:91**********************************@microsof t.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_martin" <pr********@discussions.microsoft.com> wrote in message
news:46**********************************@microsof t.com...
Hi Juan,

For sure I didn't put anything on application object. session state
cookieless=false. 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_martin" <pr********@discussions.microsoft.com> wrote in message
news:91**********************************@microsof t.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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Nhi Lam | last post: by
2 posts views Thread by John A Grandy | last post: by
5 posts views Thread by ASP.Confused | last post: by
4 posts views Thread by Abi | last post: by
9 posts views Thread by cashdeskmac | last post: by
14 posts views Thread by GaryDean | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.