non-unique password

non-unique password

am 31.07.2007 23:20:00 von TheDollmaker

The instructions for creating a password-protected page seem to be geared
toward having the user choose their own password. I'd like to have one
password that everyone has to know in order to be able to look at the page.
How can I make that happen?

Re: non-unique password

am 01.08.2007 00:14:27 von Steve Easton

What kind of server is the site hosted on?

--

Steve Easton
Microsoft MVP FrontPage
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm

"The Dollmaker" wrote in message
news:26D3B196-ADC4-44A0-B958-BE00893168D1@microsoft.com...
> The instructions for creating a password-protected page seem to be geared
> toward having the user choose their own password. I'd like to have one
> password that everyone has to know in order to be able to look at the page.
> How can I make that happen?

Re: non-unique password

am 01.08.2007 10:29:10 von Ronx

If your site has FrontPage extensions, and the host supports subwebs
with unique permissions, then see

Password Protect Part of a Web: (Requires FrontPage extensions on
server, and host must support subwebs with unique permissions)
http://support.microsoft.com/default.aspx?scid=kb;en-us;3015 54 (FP2000)
http://support.microsoft.com/default.aspx?scid=kb;en-us;8254 51 (FP2003)

--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp

FrontPage Support: http://www.frontpagemvps.com/




"The Dollmaker" wrote in
message news:26D3B196-ADC4-44A0-B958-BE00893168D1@microsoft.com:

> The instructions for creating a password-protected page seem to be geared
> toward having the user choose their own password. I'd like to have one
> password that everyone has to know in order to be able to look at the page.
> How can I make that happen?

Re: non-unique password

am 01.08.2007 11:49:59 von Paul C

Hi
Here is a simple asp login supplied to me by Thomas. Just change the Login
password (third line down to yours)
Paul M



<% ' This goes at the top of each page to be protected above the opening
tag.
Login=LCase(Request.Form("pLogin"))
If Login = "passw" Then
Session("Authenticated") = 1
Else
Session("Authenticated") = 0
End If
%>





sample



<% If Session("Authenticated") = 1 Then %>

Content to see when logged
in


<% End If %>


<% If Session("Authenticated") = 0 Then %>

log in box seen when not
logged in






bgcolor="#800000">
width="100%">





bgcolor="#FFFFFF"
height="50">UserID:
size="10" name="pLogin"> name="Login">

<% End If %>





"The Dollmaker" wrote in message
news:26D3B196-ADC4-44A0-B958-BE00893168D1@microsoft.com...
> The instructions for creating a password-protected page seem to be geared
> toward having the user choose their own password. I'd like to have one
> password that everyone has to know in order to be able to look at the
> page.
> How can I make that happen?

Question for Thomas

am 01.08.2007 13:21:28 von Paul C

Hi Thomas just out of interest could the following code be changed to allow
for more than one password

<% ' This goes at the top of each page to be protected above the opening
tag.
Login=LCase(Request.Form("pLogin"))
If Login = "passw" Then
Session("Authenticated") = 1
Else
Session("Authenticated") = 0
End If
%>

Thanks
Paul M


"Paul C" wrote in message
news:e46zTFC1HHA.3768@TK2MSFTNGP06.phx.gbl...
> Hi
> Here is a simple asp login supplied to me by Thomas. Just change the
> Login password (third line down to yours)
> Paul M
>
>
>
> <% ' This goes at the top of each page to be protected above the opening
> tag.
> Login=LCase(Request.Form("pLogin"))
> If Login = "passw" Then
> Session("Authenticated") = 1
> Else
> Session("Authenticated") = 0
> End If
> %>
>
>
>
>
>
> sample
>
>
>
> <% If Session("Authenticated") = 1 Then %>
>

Content to see when
> logged in


> <% End If %>
>


> <% If Session("Authenticated") = 0 Then %>
>

log in box seen when not
> logged in


>
>
>
>
>
> bgcolor="#800000">
> > width="100%">
>
>
>
>
>
>
> bgcolor="#FFFFFF"
> height="50">UserID:
>
> size="10" name="pLogin"> > name="Login">

> <% End If %>
>
>
>
>
>
> "The Dollmaker" wrote in message
> news:26D3B196-ADC4-44A0-B958-BE00893168D1@microsoft.com...
>> The instructions for creating a password-protected page seem to be geared
>> toward having the user choose their own password. I'd like to have one
>> password that everyone has to know in order to be able to look at the
>> page.
>> How can I make that happen?
>
>

Re: Question for Thomas

am 01.08.2007 14:49:08 von tarowe

Hi Paul,

I never tried it, but it should...

If Login = "passw" or Login = "passf" Then


--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


"Paul C" wrote in message news:ecLib4C1HHA.1168@TK2MSFTNGP02.phx.gbl...
> Hi Thomas just out of interest could the following code be changed to allow for more than one
> password
>
> <% ' This goes at the top of each page to be protected above the opening tag.
> Login=LCase(Request.Form("pLogin"))
> If Login = "passw" Then
> Session("Authenticated") = 1
> Else
> Session("Authenticated") = 0
> End If
> %>
>
> Thanks
> Paul M
>
>
> "Paul C" wrote in message news:e46zTFC1HHA.3768@TK2MSFTNGP06.phx.gbl...
>> Hi
>> Here is a simple asp login supplied to me by Thomas. Just change the Login password (third line
>> down to yours)
>> Paul M
>>
>>
>>
>> <% ' This goes at the top of each page to be protected above the opening tag.
>> Login=LCase(Request.Form("pLogin"))
>> If Login = "passw" Then
>> Session("Authenticated") = 1
>> Else
>> Session("Authenticated") = 0
>> End If
>> %>
>>
>>
>>
>>
>>
>> sample
>>
>>
>>
>> <% If Session("Authenticated") = 1 Then %>
>>

Content to see when logged in


>> <% End If %>
>>


>> <% If Session("Authenticated") = 0 Then %>
>>

log in box seen when not logged
>> in


>>
>>
>>
>>
>>

>>
>>
>>
>>
>>
>>
>>
>> height="50">UserID: >> size="10" name="pLogin">

>> <% End If %>
>>
>>
>>
>>
>>
>> "The Dollmaker" wrote in message
>> news:26D3B196-ADC4-44A0-B958-BE00893168D1@microsoft.com...
>>> The instructions for creating a password-protected page seem to be geared
>>> toward having the user choose their own password. I'd like to have one
>>> password that everyone has to know in order to be able to look at the page.
>>> How can I make that happen?
>>
>>
>
>

Re: Question for Thomas

am 01.08.2007 16:42:58 von Paul C

Thanks Thomas works a treat
Best wishes
Paul M

"Thomas A. Rowe" wrote in message
news:uJ65bpD1HHA.5380@TK2MSFTNGP04.phx.gbl...
> Hi Paul,
>
> I never tried it, but it should...
>
> If Login = "passw" or Login = "passf" Then
>
>
> --
> ==============================================
> Thomas A. Rowe
> Microsoft MVP - FrontPage
>
> http://www.Ecom-Data.com
> ==============================================
>
>
> "Paul C" wrote in message
> news:ecLib4C1HHA.1168@TK2MSFTNGP02.phx.gbl...
>> Hi Thomas just out of interest could the following code be changed to
>> allow for more than one password
>>
>> <% ' This goes at the top of each page to be protected above the opening
>> tag.
>> Login=LCase(Request.Form("pLogin"))
>> If Login = "passw" Then
>> Session("Authenticated") = 1
>> Else
>> Session("Authenticated") = 0
>> End If
>> %>
>>
>> Thanks
>> Paul M
>>
>>
>> "Paul C" wrote in message
>> news:e46zTFC1HHA.3768@TK2MSFTNGP06.phx.gbl...
>>> Hi
>>> Here is a simple asp login supplied to me by Thomas. Just change the
>>> Login password (third line down to yours)
>>> Paul M
>>>
>>>
>>>
>>> <% ' This goes at the top of each page to be protected above the opening
>>> tag.
>>> Login=LCase(Request.Form("pLogin"))
>>> If Login = "passw" Then
>>> Session("Authenticated") = 1
>>> Else
>>> Session("Authenticated") = 0
>>> End If
>>> %>
>>>
>>>
>>>
>>>
>>>
>>> sample
>>>
>>>
>>>
>>> <% If Session("Authenticated") = 1 Then %>
>>>

Content to see when
>>> logged in


>>> <% End If %>
>>>


>>> <% If Session("Authenticated") = 0 Then %>
>>>

log in box seen when
>>> not logged in


>>>
>>>
>>>
>>>
>>>
>>> bgcolor="#800000">
>>> >>> width="100%">
>>>
>>>
>>>
>>>
>>>
>>>
>>> bgcolor="#FFFFFF"
>>> height="50">UserID:
>>>
>>> size="10" name="pLogin"> >>> name="Login">

>>> <% End If %>
>>>
>>>
>>>
>>>
>>>
>>> "The Dollmaker" wrote in
>>> message news:26D3B196-ADC4-44A0-B958-BE00893168D1@microsoft.com...
>>>> The instructions for creating a password-protected page seem to be
>>>> geared
>>>> toward having the user choose their own password. I'd like to have one
>>>> password that everyone has to know in order to be able to look at the
>>>> page.
>>>> How can I make that happen?
>>>
>>>
>>
>>
>
>

Re: Question for Thomas

am 01.08.2007 16:56:17 von tarowe

Great!!

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


"Paul C" wrote in message news:eP7uBpE1HHA.1484@TK2MSFTNGP06.phx.gbl...
> Thanks Thomas works a treat
> Best wishes
> Paul M
>
> "Thomas A. Rowe" wrote in message news:uJ65bpD1HHA.5380@TK2MSFTNGP04.phx.gbl...
>> Hi Paul,
>>
>> I never tried it, but it should...
>>
>> If Login = "passw" or Login = "passf" Then
>>
>>
>> --
>> ==============================================
>> Thomas A. Rowe
>> Microsoft MVP - FrontPage
>>
>> http://www.Ecom-Data.com
>> ==============================================
>>
>>
>> "Paul C" wrote in message news:ecLib4C1HHA.1168@TK2MSFTNGP02.phx.gbl...
>>> Hi Thomas just out of interest could the following code be changed to allow for more than one
>>> password
>>>
>>> <% ' This goes at the top of each page to be protected above the opening tag.
>>> Login=LCase(Request.Form("pLogin"))
>>> If Login = "passw" Then
>>> Session("Authenticated") = 1
>>> Else
>>> Session("Authenticated") = 0
>>> End If
>>> %>
>>>
>>> Thanks
>>> Paul M
>>>
>>>
>>> "Paul C" wrote in message news:e46zTFC1HHA.3768@TK2MSFTNGP06.phx.gbl...
>>>> Hi
>>>> Here is a simple asp login supplied to me by Thomas. Just change the Login password (third
>>>> line down to yours)
>>>> Paul M
>>>>
>>>>
>>>>
>>>> <% ' This goes at the top of each page to be protected above the opening tag.
>>>> Login=LCase(Request.Form("pLogin"))
>>>> If Login = "passw" Then
>>>> Session("Authenticated") = 1
>>>> Else
>>>> Session("Authenticated") = 0
>>>> End If
>>>> %>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> sample
>>>>
>>>>
>>>>
>>>> <% If Session("Authenticated") = 1 Then %>
>>>>

Content to see when logged in


>>>> <% End If %>
>>>>


>>>> <% If Session("Authenticated") = 0 Then %>
>>>>

log in box seen when not logged
>>>> in


>>>>
>>>>
>>>>
>>>>
>>>>

>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> height="50">UserID: >>>> type="text"
>>>> size="10" name="pLogin">

>>>> <% End If %>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> "The Dollmaker" wrote in message
>>>> news:26D3B196-ADC4-44A0-B958-BE00893168D1@microsoft.com...
>>>>> The instructions for creating a password-protected page seem to be geared
>>>>> toward having the user choose their own password. I'd like to have one
>>>>> password that everyone has to know in order to be able to look at the page.
>>>>> How can I make that happen?
>>>>
>>>>
>>>
>>>
>>
>>
>
>

Re: Question for Thomas

am 01.08.2007 17:44:07 von Paul C

Yep You are
"Thomas A. Rowe" wrote in message
news:OepPfwE1HHA.5824@TK2MSFTNGP05.phx.gbl...
> Great!!
>
> --
> ==============================================
> Thomas A. Rowe
> Microsoft MVP - FrontPage
>
> http://www.Ecom-Data.com
> ==============================================
>
>
> "Paul C" wrote in message
> news:eP7uBpE1HHA.1484@TK2MSFTNGP06.phx.gbl...
>> Thanks Thomas works a treat
>> Best wishes
>> Paul M
>>
>> "Thomas A. Rowe" wrote in message
>> news:uJ65bpD1HHA.5380@TK2MSFTNGP04.phx.gbl...
>>> Hi Paul,
>>>
>>> I never tried it, but it should...
>>>
>>> If Login = "passw" or Login = "passf" Then
>>>
>>>
>>> --
>>> ==============================================
>>> Thomas A. Rowe
>>> Microsoft MVP - FrontPage
>>>
>>> http://www.Ecom-Data.com
>>> ==============================================
>>>
>>>
>>> "Paul C" wrote in message
>>> news:ecLib4C1HHA.1168@TK2MSFTNGP02.phx.gbl...
>>>> Hi Thomas just out of interest could the following code be changed to
>>>> allow for more than one password
>>>>
>>>> <% ' This goes at the top of each page to be protected above the
>>>> opening tag.
>>>> Login=LCase(Request.Form("pLogin"))
>>>> If Login = "passw" Then
>>>> Session("Authenticated") = 1
>>>> Else
>>>> Session("Authenticated") = 0
>>>> End If
>>>> %>
>>>>
>>>> Thanks
>>>> Paul M
>>>>
>>>>
>>>> "Paul C" wrote in message
>>>> news:e46zTFC1HHA.3768@TK2MSFTNGP06.phx.gbl...
>>>>> Hi
>>>>> Here is a simple asp login supplied to me by Thomas. Just change the
>>>>> Login password (third line down to yours)
>>>>> Paul M
>>>>>
>>>>>
>>>>>
>>>>> <% ' This goes at the top of each page to be protected above the
>>>>> opening tag.
>>>>> Login=LCase(Request.Form("pLogin"))
>>>>> If Login = "passw" Then
>>>>> Session("Authenticated") = 1
>>>>> Else
>>>>> Session("Authenticated") = 0
>>>>> End If
>>>>> %>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> sample
>>>>>
>>>>>
>>>>>
>>>>> <% If Session("Authenticated") = 1 Then %>
>>>>>

Content to see when
>>>>> logged in


>>>>> <% End If %>
>>>>>


>>>>> <% If Session("Authenticated") = 0 Then %>
>>>>>

log in box seen when
>>>>> not logged in


>>>>> >>>>> width="300">
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> bgcolor="#800000">
>>>>> >>>>> width="100%">
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> bgcolor="#FFFFFF"
>>>>> height="50">UserID:
>>>>>
>>>>> size="10" name="pLogin"> >>>>> name="Login">

>>>>> <% End If %>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> "The Dollmaker" wrote in
>>>>> message news:26D3B196-ADC4-44A0-B958-BE00893168D1@microsoft.com...
>>>>>> The instructions for creating a password-protected page seem to be
>>>>>> geared
>>>>>> toward having the user choose their own password. I'd like to have
>>>>>> one
>>>>>> password that everyone has to know in order to be able to look at the
>>>>>> page.
>>>>>> How can I make that happen?
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>

Re: Question for Thomas

am 01.08.2007 18:04:52 von tarowe

No, I'm not..

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


"Paul C" wrote in message news:%23zLCNLF1HHA.4916@TK2MSFTNGP03.phx.gbl...
> Yep You are
> "Thomas A. Rowe" wrote in message news:OepPfwE1HHA.5824@TK2MSFTNGP05.phx.gbl...
>> Great!!
>>
>> --
>> ==============================================
>> Thomas A. Rowe
>> Microsoft MVP - FrontPage
>>
>> http://www.Ecom-Data.com
>> ==============================================
>>
>>
>> "Paul C" wrote in message news:eP7uBpE1HHA.1484@TK2MSFTNGP06.phx.gbl...
>>> Thanks Thomas works a treat
>>> Best wishes
>>> Paul M
>>>
>>> "Thomas A. Rowe" wrote in message
>>> news:uJ65bpD1HHA.5380@TK2MSFTNGP04.phx.gbl...
>>>> Hi Paul,
>>>>
>>>> I never tried it, but it should...
>>>>
>>>> If Login = "passw" or Login = "passf" Then
>>>>
>>>>
>>>> --
>>>> ==============================================
>>>> Thomas A. Rowe
>>>> Microsoft MVP - FrontPage
>>>>
>>>> http://www.Ecom-Data.com
>>>> ==============================================
>>>>
>>>>
>>>> "Paul C" wrote in message news:ecLib4C1HHA.1168@TK2MSFTNGP02.phx.gbl...
>>>>> Hi Thomas just out of interest could the following code be changed to allow for more than one
>>>>> password
>>>>>
>>>>> <% ' This goes at the top of each page to be protected above the opening tag.
>>>>> Login=LCase(Request.Form("pLogin"))
>>>>> If Login = "passw" Then
>>>>> Session("Authenticated") = 1
>>>>> Else
>>>>> Session("Authenticated") = 0
>>>>> End If
>>>>> %>
>>>>>
>>>>> Thanks
>>>>> Paul M
>>>>>
>>>>>
>>>>> "Paul C" wrote in message news:e46zTFC1HHA.3768@TK2MSFTNGP06.phx.gbl...
>>>>>> Hi
>>>>>> Here is a simple asp login supplied to me by Thomas. Just change the Login password (third
>>>>>> line down to yours)
>>>>>> Paul M
>>>>>>
>>>>>>
>>>>>>
>>>>>> <% ' This goes at the top of each page to be protected above the opening tag.
>>>>>> Login=LCase(Request.Form("pLogin"))
>>>>>> If Login = "passw" Then
>>>>>> Session("Authenticated") = 1
>>>>>> Else
>>>>>> Session("Authenticated") = 0
>>>>>> End If
>>>>>> %>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> sample
>>>>>>
>>>>>>
>>>>>>
>>>>>> <% If Session("Authenticated") = 1 Then %>
>>>>>>

Content to see when logged
>>>>>> in


>>>>>> <% End If %>
>>>>>>


>>>>>> <% If Session("Authenticated") = 0 Then %>
>>>>>>

log in box seen when not logged
>>>>>> in


>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>

>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> height="50">UserID: >>>>>> type="text"
>>>>>> size="10" name="pLogin">

>>>>>> <% End If %>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> "The Dollmaker" wrote in message
>>>>>> news:26D3B196-ADC4-44A0-B958-BE00893168D1@microsoft.com...
>>>>>>> The instructions for creating a password-protected page seem to be geared
>>>>>>> toward having the user choose their own password. I'd like to have one
>>>>>>> password that everyone has to know in order to be able to look at the page.
>>>>>>> How can I make that happen?
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>

Re: Question for Thomas

am 01.08.2007 19:18:36 von Paul C

I disagree you have helped me a great deal through the years and helped me
to understand and create a database application which was far beyond my
interlect at the time, not to mention other asp related problems.
For me and there must lots of others who don't do web design for a living
but build the occasional web for friends and charities really appreciate
your help.

Paul M

"Thomas A. Rowe" wrote in message
news:uZZ6zWF1HHA.3940@TK2MSFTNGP05.phx.gbl...
> No, I'm not..
>
> --
> ==============================================
> Thomas A. Rowe
> Microsoft MVP - FrontPage
>
> http://www.Ecom-Data.com
> ==============================================
>
>
> "Paul C" wrote in message
> news:%23zLCNLF1HHA.4916@TK2MSFTNGP03.phx.gbl...
>> Yep You are
>> "Thomas A. Rowe" wrote in message
>> news:OepPfwE1HHA.5824@TK2MSFTNGP05.phx.gbl...
>>> Great!!
>>>
>>> --
>>> ==============================================
>>> Thomas A. Rowe
>>> Microsoft MVP - FrontPage
>>>
>>> http://www.Ecom-Data.com
>>> ==============================================
>>>
>>>
>>> "Paul C" wrote in message
>>> news:eP7uBpE1HHA.1484@TK2MSFTNGP06.phx.gbl...
>>>> Thanks Thomas works a treat
>>>> Best wishes
>>>> Paul M
>>>>
>>>> "Thomas A. Rowe" wrote in message
>>>> news:uJ65bpD1HHA.5380@TK2MSFTNGP04.phx.gbl...
>>>>> Hi Paul,
>>>>>
>>>>> I never tried it, but it should...
>>>>>
>>>>> If Login = "passw" or Login = "passf" Then
>>>>>
>>>>>
>>>>> --
>>>>> ==============================================
>>>>> Thomas A. Rowe
>>>>> Microsoft MVP - FrontPage
>>>>>
>>>>> http://www.Ecom-Data.com
>>>>> ==============================================
>>>>>
>>>>>
>>>>> "Paul C" wrote in message
>>>>> news:ecLib4C1HHA.1168@TK2MSFTNGP02.phx.gbl...
>>>>>> Hi Thomas just out of interest could the following code be changed to
>>>>>> allow for more than one password
>>>>>>
>>>>>> <% ' This goes at the top of each page to be protected above the
>>>>>> opening tag.
>>>>>> Login=LCase(Request.Form("pLogin"))
>>>>>> If Login = "passw" Then
>>>>>> Session("Authenticated") = 1
>>>>>> Else
>>>>>> Session("Authenticated") = 0
>>>>>> End If
>>>>>> %>
>>>>>>
>>>>>> Thanks
>>>>>> Paul M
>>>>>>
>>>>>>
>>>>>> "Paul C" wrote in message
>>>>>> news:e46zTFC1HHA.3768@TK2MSFTNGP06.phx.gbl...
>>>>>>> Hi
>>>>>>> Here is a simple asp login supplied to me by Thomas. Just change
>>>>>>> the Login password (third line down to yours)
>>>>>>> Paul M
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> <% ' This goes at the top of each page to be protected above the
>>>>>>> opening tag.
>>>>>>> Login=LCase(Request.Form("pLogin"))
>>>>>>> If Login = "passw" Then
>>>>>>> Session("Authenticated") = 1
>>>>>>> Else
>>>>>>> Session("Authenticated") = 0
>>>>>>> End If
>>>>>>> %>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> sample
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> <% If Session("Authenticated") = 1 Then %>
>>>>>>>

Content to see
>>>>>>> when logged in


>>>>>>> <% End If %>
>>>>>>>


>>>>>>> <% If Session("Authenticated") = 0 Then %>
>>>>>>>

log in box seen
>>>>>>> when not logged in


>>>>>>> >>>>>>> width="300">
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> bgcolor="#800000">
>>>>>>> >>>>>>> width="100%">
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> bgcolor="#FFFFFF"
>>>>>>> height="50">UserID:
>>>>>>>
>>>>>>> size="10" name="pLogin"> >>>>>>> name="Login">

>>>>>>> <% End If %>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> "The Dollmaker" wrote in
>>>>>>> message news:26D3B196-ADC4-44A0-B958-BE00893168D1@microsoft.com...
>>>>>>>> The instructions for creating a password-protected page seem to be
>>>>>>>> geared
>>>>>>>> toward having the user choose their own password. I'd like to have
>>>>>>>> one
>>>>>>>> password that everyone has to know in order to be able to look at
>>>>>>>> the page.
>>>>>>>> How can I make that happen?
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>

Re: Question for Thomas

am 01.08.2007 19:34:27 von tarowe

Ok, we agree to disagree... I am glad that my responses over the years has help you.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


"Paul C" wrote in message news:%23XJu$$F1HHA.1208@TK2MSFTNGP05.phx.gbl...
>I disagree you have helped me a great deal through the years and helped me to understand and create
>a database application which was far beyond my interlect at the time, not to mention other asp
>related problems.
> For me and there must lots of others who don't do web design for a living but build the occasional
> web for friends and charities really appreciate your help.
>
> Paul M
>
> "Thomas A. Rowe" wrote in message news:uZZ6zWF1HHA.3940@TK2MSFTNGP05.phx.gbl...
>> No, I'm not..
>>
>> --
>> ==============================================
>> Thomas A. Rowe
>> Microsoft MVP - FrontPage
>>
>> http://www.Ecom-Data.com
>> ==============================================
>>
>>
>> "Paul C" wrote in message news:%23zLCNLF1HHA.4916@TK2MSFTNGP03.phx.gbl...
>>> Yep You are
>>> "Thomas A. Rowe" wrote in message
>>> news:OepPfwE1HHA.5824@TK2MSFTNGP05.phx.gbl...
>>>> Great!!
>>>>
>>>> --
>>>> ==============================================
>>>> Thomas A. Rowe
>>>> Microsoft MVP - FrontPage
>>>>
>>>> http://www.Ecom-Data.com
>>>> ==============================================
>>>>
>>>>
>>>> "Paul C" wrote in message news:eP7uBpE1HHA.1484@TK2MSFTNGP06.phx.gbl...
>>>>> Thanks Thomas works a treat
>>>>> Best wishes
>>>>> Paul M
>>>>>
>>>>> "Thomas A. Rowe" wrote in message
>>>>> news:uJ65bpD1HHA.5380@TK2MSFTNGP04.phx.gbl...
>>>>>> Hi Paul,
>>>>>>
>>>>>> I never tried it, but it should...
>>>>>>
>>>>>> If Login = "passw" or Login = "passf" Then
>>>>>>
>>>>>>
>>>>>> --
>>>>>> ==============================================
>>>>>> Thomas A. Rowe
>>>>>> Microsoft MVP - FrontPage
>>>>>>
>>>>>> http://www.Ecom-Data.com
>>>>>> ==============================================
>>>>>>
>>>>>>
>>>>>> "Paul C" wrote in message news:ecLib4C1HHA.1168@TK2MSFTNGP02.phx.gbl...
>>>>>>> Hi Thomas just out of interest could the following code be changed to allow for more than
>>>>>>> one password
>>>>>>>
>>>>>>> <% ' This goes at the top of each page to be protected above the opening tag.
>>>>>>> Login=LCase(Request.Form("pLogin"))
>>>>>>> If Login = "passw" Then
>>>>>>> Session("Authenticated") = 1
>>>>>>> Else
>>>>>>> Session("Authenticated") = 0
>>>>>>> End If
>>>>>>> %>
>>>>>>>
>>>>>>> Thanks
>>>>>>> Paul M
>>>>>>>
>>>>>>>
>>>>>>> "Paul C" wrote in message news:e46zTFC1HHA.3768@TK2MSFTNGP06.phx.gbl...
>>>>>>>> Hi
>>>>>>>> Here is a simple asp login supplied to me by Thomas. Just change the Login password (third
>>>>>>>> line down to yours)
>>>>>>>> Paul M
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> <% ' This goes at the top of each page to be protected above the opening tag.
>>>>>>>> Login=LCase(Request.Form("pLogin"))
>>>>>>>> If Login = "passw" Then
>>>>>>>> Session("Authenticated") = 1
>>>>>>>> Else
>>>>>>>> Session("Authenticated") = 0
>>>>>>>> End If
>>>>>>>> %>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> sample
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> <% If Session("Authenticated") = 1 Then %>
>>>>>>>>

Content to see when logged
>>>>>>>> in


>>>>>>>> <% End If %>
>>>>>>>>


>>>>>>>> <% If Session("Authenticated") = 0 Then %>
>>>>>>>>

log in box seen when not logged
>>>>>>>> in


>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>

>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> height="50">UserID: >>>>>>>> type="text"
>>>>>>>> size="10" name="pLogin">

>>>>>>>> <% End If %>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> "The Dollmaker" wrote in message
>>>>>>>> news:26D3B196-ADC4-44A0-B958-BE00893168D1@microsoft.com...
>>>>>>>>> The instructions for creating a password-protected page seem to be geared
>>>>>>>>> toward having the user choose their own password. I'd like to have one
>>>>>>>>> password that everyone has to know in order to be able to look at the page.
>>>>>>>>> How can I make that happen?
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>