Thread: LOGOUT function
View Single Post
  #3 (permalink)  
Old Aug 3rd, 2004, 07:55
Smokie Smokie is offline
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
At the top of every page you need to check if the user is logged in...

Code: Select all
If Session("Authenticated") = False Then
    Response.Redirect "Login.asp"
End If
The code above would normally be in an INCLUDE file which is included at the top of every page.