|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Session variables
I'm revising my page so that it will use session variables instead of using querystring, it works perfectly to some workstations but not to others and i wonder why?
what could be the cause? we use i.e browser, could it be on the client or the server side? could it be cached only on the first page then terminated when another page was called? please do give some helpful advise, regards, vbknight |
|
#2
|
||||
|
||||
|
Sessions still need a user to have cookies enabled, so that may be the cause of your problem.
|
|
#3
|
|||
|
|||
|
Using Session variables instead of querystrings doesn't sound like a good idea:
http://www.4guysfromrolla.com/webte...nced/faq4.shtml http://www.4guysfromrolla.com/webtech/092098-2.shtml |
|
#4
|
||||
|
||||
|
They are fine for storing small text based things such as userID's. Bad for storing objects like recordset's, which I've never head of anyone doing. A million times more convenient that passing around sessionid's through your querystring.
|
|
#5
|
|||
|
|||
|
m just using it for a simple 3 chars user name like
session("user") = "qyp" i have test it again to workstation that has a problem. when the first page load the session variable has a value but when i click to go to another page then it was gone!??? i even reset the browser to its default settings. but still no luck. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > Session variables |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|