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. SessionTimeOut Problem

SessionTimeOut Problem

Scheduled Pinned Locked Moved Web Development
databasehelpcsharptutorialannouncement
4 Posts 3 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.
  • S Offline
    S Offline
    shaina2231
    wrote on last edited by
    #1

    In C# web application Requirement is when using admin panel admin inserts categoy,product etc then update also his store database on Ebay i hv integrated site with Ebay store db and updating that too. But Saving data takes time and Admin gets logout automatically I think default session time is up Plz help how to handle this

    S D 2 Replies Last reply
    0
    • S shaina2231

      In C# web application Requirement is when using admin panel admin inserts categoy,product etc then update also his store database on Ebay i hv integrated site with Ebay store db and updating that too. But Saving data takes time and Admin gets logout automatically I think default session time is up Plz help how to handle this

      S Offline
      S Offline
      Sandeep Mewara
      wrote on last edited by
      #2

      Not necessary that Session has timed out. It could be databse transaction timeout too. Or the established Connection timeout. You need to debug and find where the bottle neck is and increase the time accordingly. P.S.: Please don't post at two places. It's basically ASP.NET question.

      S 1 Reply Last reply
      0
      • S Sandeep Mewara

        Not necessary that Session has timed out. It could be databse transaction timeout too. Or the established Connection timeout. You need to debug and find where the bottle neck is and increase the time accordingly. P.S.: Please don't post at two places. It's basically ASP.NET question.

        S Offline
        S Offline
        shaina2231
        wrote on last edited by
        #3

        When admin logsout automatically then this session variable contains Null condition Session["me"] == null becomes true I have extended sessiontimeout using Session.timeout=40 when setting this session variable value at login sucessfully But still it logsout after saving data in to db with in 30 sec plz help how to handle it

        1 Reply Last reply
        0
        • S shaina2231

          In C# web application Requirement is when using admin panel admin inserts categoy,product etc then update also his store database on Ebay i hv integrated site with Ebay store db and updating that too. But Saving data takes time and Admin gets logout automatically I think default session time is up Plz help how to handle this

          D Offline
          D Offline
          DX Roster
          wrote on last edited by
          #4

          the Session time out minimum value is 1 minute and by default its 10 minute and we can extend it to 1440 minute using code like.. use the following code in the web.config file in u r application Where 10000 in minutes...... you can get more information from following link: Prevent Session Timeout in ASP.NET[^] If You Get your answer then please Rating me... Thanks.. "Are You Ready" DX-ARMY

          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