|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
value of my server variables are not persistent
Originally posted by : shashi (ksk_78@yahoo.com)value of my server variables are not persistenti am using the code If Session("UserId")= "" then response.redirect("Login.aspx")End Ifi am using this codeand after every 4 minutes the value of session variable "UserId" is becoming null (blank)my application is running on .net final release on a win xp machine is there any other simple way to check for session variables.
|
|
#2
|
|||
|
|||
|
Originally posted by : Marco Parreira (mparreira@hotmail.com)There is a problem with session variables when using frames. They are sent to the client with the response, and the server cant handle them if you are using frames.. the same will happen with cookies between frames, the process is equal..i sugest using a temporary table for holding logins with a timeout value, eg: 30mins or complete logout, and ip tracking for autentication. this may slow down the server if you get to many hits.
|
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > value of my server variables are not persistent |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|