|
-
Nov 5th, 2003, 04:43 AM
#1
Thread Starter
Lively Member
Session Variables ......
been working on a project now for almost 12 months with about another 5 programmers and we have been testing the software on our own machines (each programmers computer has its own copy of IIS)
but we have been storing user specific variables in session variables .... not knowing that these are global to the system so .... when another user logs in the variables are over written !
can n e one suggest a place to store them ?
or suggest a way around the session variables so we can make them user specific
many thanks
Optimus
-
Nov 5th, 2003, 08:58 AM
#2
Fanatic Member
My understanding (at least from ASP 3.0) was that Session variables are user specific. Do you mean your Application variables are over-written? I used Session variables all the time and never had that problem - no other user could access another users session variable. In fact, that's why they call it a Session variable - it only exists for that user session.
-
Nov 5th, 2003, 09:50 AM
#3
Thread Starter
Lively Member
kinda getting round it @ the moment
we set the system variables up as application variables n only 12 months down the line has this been noticed / or started causing a problem
we're now working on setting the variables up as session variables rather than application variables .... so they remain user specific
but were now encountering problems storing the session variables on SQLserver and enabling the session state but hey lifes never easy with dot net
-
Nov 6th, 2003, 11:31 AM
#4
Frenzied Member
Ask this in the ASP.NET forum. You'll have more luck getting an answer.
Last edited by MrGTI; Nov 6th, 2003 at 11:36 AM.
~Peter

-
Nov 6th, 2003, 04:58 PM
#5
PowerPoster
You only have to use sql server or the state service when you are serving your pages up in a web farm architecutre. Yes, you can still us sql server or the later, but you will see a performance degration.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|