ASP password code supplied here on the website - doesn't work

J

Jennifer

I used the code at this link:
http://support.microsoft.com/default.aspx?scid=kb;en-us;825498

and used this part of the code:

• Password-protect other Web pages: To password-protect another Web page in
your Web site, you must save the file with an ASP file name extension, for
example, Mypage.asp, and then add the following two lines to the very top of
the file: <% @language="vbscript" %>
<!--#include virtual="/logon/_private/logon.inc"-->

The first line specifies that you are using Microsoft Visual Basic Scripting
Edition (VBScript) for your scripting language, and the second line includes
the user name and the password functionality from the logon include file that
you created earlier.

But it still doesn't work. Any suggestions?

Jennifer
 
S

Stefan B Rusynko

What is the location of the page relative to the folder (subweb) named logon location?

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Yes, my host supports ASP.
|
| "Dave B." wrote:
|
| > Does your host support ASP?
| >
| > | > >I used the code at this link:
| > > http://support.microsoft.com/default.aspx?scid=kb;en-us;825498
| > >
| > > and used this part of the code:
| > >
| > > . Password-protect other Web pages: To password-protect another Web page
| > > in
| > > your Web site, you must save the file with an ASP file name extension, for
| > > example, Mypage.asp, and then add the following two lines to the very top
| > > of
| > > the file: <% @language="vbscript" %>
| > > <!--#include virtual="/logon/_private/logon.inc"-->
| > >
| > > The first line specifies that you are using Microsoft Visual Basic
| > > Scripting
| > > Edition (VBScript) for your scripting language, and the second line
| > > includes
| > > the user name and the password functionality from the logon include file
| > > that
| > > you created earlier.
| > >
| > > But it still doesn't work. Any suggestions?
| > >
| > > Jennifer
| > >
| >
| >
| >
 
J

Jennifer

The pages I want to have protected are in a folder called protectedPages
under my main web.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top