Results 1 to 2 of 2

Thread: asp

  1. #1
    Junior Member
    Join Date
    Jan 2007
    Answers
    12

    asp

    may i know the coding when the logout button clicked how the back button of the browser ll be disabled??????


  2. #2
    Administrator
    Join Date
    May 2006
    Answers
    331

    Re: asp

    There are few ways it can be handled...

    if you are setting session variable on login, you can set to nothing since you will be checking on all the pages to see if the user is authenticated ...

    another option is expire the current page ..

    Response.Expires = 0
    Response.Cache.SetNoStore()
    Response.AppendHeader("Pragma", "no-cache")

    with this user should get page expired message if he tries to use back button...

    Let me know how it goes..


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact