471,122 Members | 874 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Session Variable References Incorrect

I have a fairly large application with about 200 users that uses Session
variables. It would seem that occasionally these variables are being
referenced incorrectly to the extent that different users are updating
information and it is being saved to the wrong user. Is there any problem
with Session Variables that would cause this?
Jun 5 '06 #1
3 1073
not with session. more likley a coding bug where you store session values in
a shared (static) member, or vb module (whose members are all shared).

-- bruce (sqlwork.com)

"GHawley" <GH*****@discussions.microsoft.com> wrote in message
news:F4**********************************@microsof t.com...
I have a fairly large application with about 200 users that uses Session
variables. It would seem that occasionally these variables are being
referenced incorrectly to the extent that different users are updating
information and it is being saved to the wrong user. Is there any problem
with Session Variables that would cause this?

Jun 5 '06 #2
The application simply references the Session["variable"] where ever it wants
to use it. The variable isn't stored, just referenced.

Thanks for the speedy response though.

"bruce barker (sqlwork.com)" wrote:
not with session. more likley a coding bug where you store session values in
a shared (static) member, or vb module (whose members are all shared).

-- bruce (sqlwork.com)

"GHawley" <GH*****@discussions.microsoft.com> wrote in message
news:F4**********************************@microsof t.com...
I have a fairly large application with about 200 users that uses Session
variables. It would seem that occasionally these variables are being
referenced incorrectly to the extent that different users are updating
information and it is being saved to the wrong user. Is there any problem
with Session Variables that would cause this?


Jun 5 '06 #3
I would like to retract my previous statement and thank Bruce Barker for the
insight. I believe this is exactly the problem.

1 thousand times, thank you!!!!

"GHawley" wrote:
The application simply references the Session["variable"] where ever it wants
to use it. The variable isn't stored, just referenced.

Thanks for the speedy response though.

"bruce barker (sqlwork.com)" wrote:
not with session. more likley a coding bug where you store session values in
a shared (static) member, or vb module (whose members are all shared).

-- bruce (sqlwork.com)

"GHawley" <GH*****@discussions.microsoft.com> wrote in message
news:F4**********************************@microsof t.com...
I have a fairly large application with about 200 users that uses Session
variables. It would seem that occasionally these variables are being
referenced incorrectly to the extent that different users are updating
information and it is being saved to the wrong user. Is there any problem
with Session Variables that would cause this?


Jun 5 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

14 posts views Thread by Paul Yanzick | last post: by
14 posts views Thread by Schoo | last post: by
5 posts views Thread by ASP.Confused | last post: by
2 posts views Thread by Markus Prediger | last post: by
9 posts views Thread by Adrian Parker | last post: by
13 posts views Thread by | last post: by
8 posts views Thread by rgparkins | last post: by
5 posts views Thread by Terry On Windigo | last post: by

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.