Logging out when leaving page

From: gkatkins (nospam_mndipper@yahoo.com)
Date: 12/27/02


From: "gkatkins" <nospam_mndipper@yahoo.com>
Date: Fri, 27 Dec 2002 12:51:34 -0800


My time *** web page uses digest authentication to log
in. When the user is done entering their times, I have a
button that attempts to close the session and redirect the
user to another page.

Redirect works fine, but I cannot get the previous session
to close. That is, I can hit the BACK button on the
browser and return to an active time *** form.

Here is my code. What is the correct way to ensure that
the login/authentication is properly terminated? What I
want to happen is that if the user hits BACK, it returns
to the time *** and prompts for a login.
------------------------------------------------------
    Private Sub btnBye_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
btnBye.Click
    ' Click when user is done, redirects to Home Page
        Session.Abandon()
        Response.Redirect("http://www.ourhome.com")

    End Sub
-------------------------------------------------------
Thanks for any help!

George


Quantcast