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 expire

Session expire

Scheduled Pinned Locked Moved ASP.NET
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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Sir.. I have two pages in websites. I have a label and button on first page, for 'Postbackurl ' property of button of first page ,I have taken url of second page.. & I have taken another label on second page I have added ..
    <System.Web>
    <sessionState Timeout="1"/>
    </System.Web> into web.config file

    so when i run the page ..first page will be opened ..then after 1 min I clicked on button still second page successfully opened.

    and I want show by using label that..." Session is expired ".

    Thanks & Regards
    -Rakesh

    D 1 Reply Last reply
    0
    • L Lost User

      Sir.. I have two pages in websites. I have a label and button on first page, for 'Postbackurl ' property of button of first page ,I have taken url of second page.. & I have taken another label on second page I have added ..
      <System.Web>
      <sessionState Timeout="1"/>
      </System.Web> into web.config file

      so when i run the page ..first page will be opened ..then after 1 min I clicked on button still second page successfully opened.

      and I want show by using label that..." Session is expired ".

      Thanks & Regards
      -Rakesh

      D Offline
      D Offline
      Dean Oliver
      wrote on last edited by
      #2

      Hi these links should give you a better idea of how the session state works etc. Hope this helps you to identify your problem. http://justgeeks.blogspot.com/2008/07/aspnet-session-timeouts.html[^] http://www.hanselman.com/blog/TroubleshootingExpiredASPNETSessionStateAndYourOptions.aspx[^] http://msdn.microsoft.com/en-us/library/ms972429.aspx[^] The last link will help you configure your session correctly.

      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