Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. session timeout problem

session timeout problem

Scheduled Pinned Locked Moved ASP.NET
csshelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nour123
    wrote on last edited by
    #1

    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)

    K 1 Reply Last reply
    0
    • N nour123

      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)

      K Offline
      K Offline
      kaushal_prabhakar
      wrote on last edited by
      #2

      Try it :) Prabhakar.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups