session timeout problem
-
and I have a serious problem in my website... I'm handling a login project, where let the user to login in pageA before entering pageB or pageC. When running at localhost, everything was fine. Now the problem is when i put into the webserver. The session timeout within 30sec or less eventhough i had code :- set Session(Login) = user in pageA - Session.Timeout = 60 (in pageB & pageC during pageload!) If Session(Login) = Nothing Then respone.redirect(PageA) Else ............... Although I set the session timeout in web.config as well, it didn't work in web.config: I set the session state to be inProc (didn't work) also i did: <sessionState mode="StateServer" stateConnectionString="tcpip=65.182.97.156:42424" cookieless="false" timeout="20" /> and it didn't work... many Thanks!
Nour Abdel-Salam... A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)
-
and I have a serious problem in my website... I'm handling a login project, where let the user to login in pageA before entering pageB or pageC. When running at localhost, everything was fine. Now the problem is when i put into the webserver. The session timeout within 30sec or less eventhough i had code :- set Session(Login) = user in pageA - Session.Timeout = 60 (in pageB & pageC during pageload!) If Session(Login) = Nothing Then respone.redirect(PageA) Else ............... Although I set the session timeout in web.config as well, it didn't work in web.config: I set the session state to be inProc (didn't work) also i did: <sessionState mode="StateServer" stateConnectionString="tcpip=65.182.97.156:42424" cookieless="false" timeout="20" /> and it didn't work... many Thanks!
Nour Abdel-Salam... A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)
Try it :) Prabhakar.