This topic is locked

no login page for users(guest)

10/13/2005 00:10:04
ASPRunnerPro General questions
author

Hi!

How can i make my viewer(guest) access to my database without having to enter the login page ( from my home page direct to list page ). FYI, i've made a normal link to the list page but receive this message
http://localhost/login.asp?message=expired
how could i remove "expired" or is there any other way to settle this down.
need help, thanks.

Sergey Kornilov admin 10/17/2005

In the beginning of the list page make the following change (see in bold)

If Session("UserID")="" then

  Session("UserID")="Guest"

  Session("AccessLevel")=ACCESS_LEVEL_GUEST


End If