This topic is locked

How Do I get rid of login as guest

3/5/2005 10:35:38
ASPRunnerPro General questions
D
dee author

I am looking to get rid of the login as guest feature..and I don't want to have to rebuild to do it. Can you tell me how I can do this?

Thanks

N
neeb_1954 3/5/2005

Hi

The simplest way to do this is hide the guest access from the login page rather than rebuild as i have done this on a few occasions
Go to login.asp and edit the following line
<a href="details_list.asp">Login as Guest</a>
to
<a href="details_list.asp"></a>
or
<!-- a href="details_list.asp">Login as Guest</a> -->
in case u need it again
Hope it helps
Dont forget to purchase asprunner as its the best
Neil

Sergey Kornilov admin 3/7/2005

Neil,
thanks for taking care of this question.
There is one more thing that needs to be done besides removing Login as guest link.
Also you need to remove two following lines in login.asp file:

Session("UserID")="Guest"

Session("AccessLevel")=ACCESS_LEVEL_GUEST