% '******************************************************* '* ASP 101 Sample Code - http://www.asp101.com/ * '* * '* This code is made available as a service to our * '* visitors and is provided strictly for the * '* purpose of illustration. * '* * '* http://www.asp101.com/samples/license.asp * '* * '* Please direct all inquiries to webmaster@asp101.com * '******************************************************* %> <% '************************************************************************** ' This type of script becomes more useful and managable when you are ' comparing these values to those stored in a database or some other source ' of user information instead of hard coding them into the actual code. ' Just be sure that if a data source error arises you don't inadvertantly ' end up giving access to the pages you are trying to protect! '************************************************************************** If Request.Form("login") = "Guest" AND Request.Form("password") = "Guest" Then Response.Write "This is all the cool stuff we are trying to protect!" Else Response.Write "Access Denied!" '***************************************************************** ' Note: we don't use the next line so that our description below ' the script comes in. If you wanted to just stop everything here ' you would un-comment the next line and it would stop execution. '***************************************************************** 'Response.End End If %>
|
Serving Christ in the Community of Crookes
|
|
|
PRAYER Welcome
to Wesley Hall Prayer Website. Any comments / suggestions are welcome. Please email prayer@wesleyhall.org.uk (click on the link) ……ask and it
will be given to you; seek and you will find; knock and the door will be opened
to you. For everyone who asks
receives, he who seeks finds; and to him who knocks, the door will be opened. Luke 11:9
Read one person's experience of prayer in 'Living on a Prayer' - a prayer commentary |
|
Do you like what you see? Why not let us know. Any queries/commments about the website should be addressed to webmaster@wesleyhall.org.uk We're trying hard to keep up to date, so please come back regularly and see how we are doing. Most pages give appropriate contact information for specific things. For general information about Wesley Hall you can also email info@wesleyhall.org.uk. 17/04/05 |