Hi
I have a frontpage 2003 created site that works great.
My problem is that it is a password protected site, and I
would like to take the viewer's logon name, that they use
to enter the site, and use it to greet the person on the
main page-like "Hello Mary", as they enter the site
Can someone tell me how I can accomplish this?
What I need is a way to collect the name from the logon
dialog box.
Thanks

Re: password protection and greetings by John

John
Mon Nov 03 14:51:27 CST 2003

How is it password protected? Are they redirected to a logon page, or are
they prompted with the Windows auth dialog?

If it is a logon page, you just need to assign a session variable (or
ideally a cookie -- but there are security implications here) that captures
their logon name, and then response.write to write the variable.

If it is the Windows auth dialog, you need to get the server variable
"LOGON_USER".

I think both are documented on msdn and samples can be found through google.

-John

"ben" <vebjj@comcast.net> wrote in message
news:071201c3a24a$bc4c4320$a101280a@phx.gbl...
> Hi
> I have a frontpage 2003 created site that works great.
> My problem is that it is a password protected site, and I
> would like to take the viewer's logon name, that they use
> to enter the site, and use it to greet the person on the
> main page-like "Hello Mary", as they enter the site
> Can someone tell me how I can accomplish this?
> What I need is a way to collect the name from the logon
> dialog box.
> Thanks
>



Re: password protection and greetings by Peter

Peter
Tue Nov 04 04:46:45 CST 2003

I have a similar need but i want to have a hover button which shows login if
they are logged in or logout otherwise.
I will determine this using a session variable.
Can anyone point me to a good beginners tutorial on using variable in HTML
TIA
Peter
"John Clark" <anon@hotmail.com> wrote in message
news:O33JBxkoDHA.1096@TK2MSFTNGP11.phx.gbl...
> How is it password protected? Are they redirected to a logon page, or are
> they prompted with the Windows auth dialog?
>
> If it is a logon page, you just need to assign a session variable (or
> ideally a cookie -- but there are security implications here) that
captures
> their logon name, and then response.write to write the variable.
>
> If it is the Windows auth dialog, you need to get the server variable
> "LOGON_USER".
>
> I think both are documented on msdn and samples can be found through
google.
>
> -John
>
> "ben" <vebjj@comcast.net> wrote in message
> news:071201c3a24a$bc4c4320$a101280a@phx.gbl...
> > Hi
> > I have a frontpage 2003 created site that works great.
> > My problem is that it is a password protected site, and I
> > would like to take the viewer's logon name, that they use
> > to enter the site, and use it to greet the person on the
> > main page-like "Hello Mary", as they enter the site
> > Can someone tell me how I can accomplish this?
> > What I need is a way to collect the name from the logon
> > dialog box.
> > Thanks
> >
>
>



Re: password protection and greetings by anonymous

anonymous
Sat Nov 08 13:56:10 CST 2003

How do I get the logon_user from the windows diaolog?...Please