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. browser cache refresh on back button click

browser cache refresh on back button click

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

    Hi, I have an application where when a user sign off and then hits windows back button it is navigating to the previous page in the authenticated space. But i want that the user should not be allowed to navigate to authenticated space but instead show an error message. for that i am thinking that I might need to refresh the browser acche. Any ideas on how to do that. Any other possible solutions are also welcome

    I 1 Reply Last reply
    0
    • K kc_krishnan

      Hi, I have an application where when a user sign off and then hits windows back button it is navigating to the previous page in the authenticated space. But i want that the user should not be allowed to navigate to authenticated space but instead show an error message. for that i am thinking that I might need to refresh the browser acche. Any ideas on how to do that. Any other possible solutions are also welcome

      I Offline
      I Offline
      iamalik
      wrote on last edited by
      #2

      Try this

      Response.Cache.SetCacheability(HttpCacheability.NoCache)
      Response.Expires = 0

      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