Print Page | Close Window

configuration on database login script

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=7213
Printed Date: 31 March 2026 at 4:31pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: configuration on database login script
Posted By: noodles67
Subject: configuration on database login script
Date Posted: 12 November 2003 at 8:24pm

I would appreciate it greatly if someone could hold my hand thru the configuration of an asp script i downloaded. I have no idea what to do with the files i unzipped. it was the "database login" download. I am looking to password protect certain pages of my site and I dont understand this stuff. Any help would be great.

                                                                      Thanks




Replies:
Posted By: Semikolon
Date Posted: 13 November 2003 at 12:30pm

if it is the webwiz database login script you are talking about, you find all the info you need in the ReadMe.txt file.. but if you have problems with reading it you can add this code to the pages you want to protect:

<%
'If the session variable is False or does not exsist then redirect the user to the unauthorised user page
If Session("blnIsUserGood") = False or IsNull(Session("blnIsUserGood")) = True then
 
 'Redirect to unathorised user page
 Response.Redirect"unauthorised_user_page.htm"
End If
%>

the pages have to be in the same directory as your login script or you have to change the path and name of the unauthorised user page




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net