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. How can i expire previous pages after logout..

How can i expire previous pages after logout..

Scheduled Pinned Locked Moved Web Development
comhelpquestion
3 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.
  • J Offline
    J Offline
    Jax_qqq
    wrote on last edited by
    #1

    In my application when i logout i have clear the session but still when i click on browser back button it ll show the pages it should not happen like other site when some one logout and press back button it shows like page has been expired... I have also tried this ... for the same Response.Cache.SetCacheability(HttpCacheability.NoCache); Response.Cache.SetAllowResponseInBrowserHistory(false); But it's also not working... If some has any idea abt this pls help me out... Thanx & Ragards Anuj Kamthan Software Developer Solversa Technologies, Pune - 411007, India. http://www.solversa.com

    S 1 Reply Last reply
    0
    • J Jax_qqq

      In my application when i logout i have clear the session but still when i click on browser back button it ll show the pages it should not happen like other site when some one logout and press back button it shows like page has been expired... I have also tried this ... for the same Response.Cache.SetCacheability(HttpCacheability.NoCache); Response.Cache.SetAllowResponseInBrowserHistory(false); But it's also not working... If some has any idea abt this pls help me out... Thanx & Ragards Anuj Kamthan Software Developer Solversa Technologies, Pune - 411007, India. http://www.solversa.com

      S Offline
      S Offline
      Sushant_Mathur
      wrote on last edited by
      #2

      You can set Response.IsClientConnected=false when user click on logout and request this value on page load for each page so when you go back if your page found this value as false put Response.Expires=0. Hope this will help you. Sushant Mathur Bangalore, INDIA. http://n.domaindlx.com/fun2ssh/HOME.htm

      J 1 Reply Last reply
      0
      • S Sushant_Mathur

        You can set Response.IsClientConnected=false when user click on logout and request this value on page load for each page so when you go back if your page found this value as false put Response.Expires=0. Hope this will help you. Sushant Mathur Bangalore, INDIA. http://n.domaindlx.com/fun2ssh/HOME.htm

        J Offline
        J Offline
        Jax_qqq
        wrote on last edited by
        #3

        hei thanx sushant... thanx buddy yes it's working fine...i have done the same as u said. thanx & regards Anuj Kamthan Software Developer Solversa Technologies, Pune - 411007, India. http://www.solversa.com

        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