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
>