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

Logout Problem

Scheduled Pinned Locked Moved ASP.NET
helptutorial
4 Posts 4 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
    suveenmohan
    wrote on last edited by
    #1

    Hi All, Here in my web-application.When I click on LogOut button it'll signout but if I go through back button left most cornner of explorer it'll work like signin, how to solve that problem. Please Help. Regards: SMK

    M B B 3 Replies Last reply
    0
    • S suveenmohan

      Hi All, Here in my web-application.When I click on LogOut button it'll signout but if I go through back button left most cornner of explorer it'll work like signin, how to solve that problem. Please Help. Regards: SMK

      M Offline
      M Offline
      Manas Bhardwaj
      wrote on last edited by
      #2

      When a page loads, check if the session for that user exists or not. If its null, then ask him to sign in.

      1 Reply Last reply
      0
      • S suveenmohan

        Hi All, Here in my web-application.When I click on LogOut button it'll signout but if I go through back button left most cornner of explorer it'll work like signin, how to solve that problem. Please Help. Regards: SMK

        B Offline
        B Offline
        badgrs
        wrote on last edited by
        #3

        When you click back you are not actually reloading the page, what you see is the browsers cached copy of the page. Are you using the ASP.NET membership controls for authentication? If so, when you try do something on a cached page that requires authentication you will be booted to the login page.

        1 Reply Last reply
        0
        • S suveenmohan

          Hi All, Here in my web-application.When I click on LogOut button it'll signout but if I go through back button left most cornner of explorer it'll work like signin, how to solve that problem. Please Help. Regards: SMK

          B Offline
          B Offline
          Biju Sam
          wrote on last edited by
          #4

          do a Session.Abandon(); when u logout. then check in all pages if session is null? if null take it to login page Biju S

          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