The small screen you describe is the Windows Nt authentication screen. It has nothing to do with ASP pages. You get this screen by modifying the directory permissions on the web site through Windows explorer. This means that the user name has to be a valid user on the File server. If you want individual user names and passwords, it can be huge hassle to add each individual web user to your NT user list. Instead, just give the IUSR_Yourmachinename user access to your web directory and use ASP and your database as the login security. Remember to check that the user is logged in on each page that you want to protect. This means setting a session variable in your login page
session("username")=userloginname
Then in each page to protect you would do this
IF session("username")="" THEN
response.redirect("login.asp")
END IF
-Dave.
>I am new to ASP and have been following examples in a tutorial book that use VBSCRIPT. Now
I am getting more advanced. I need to create a popup window that will have a form that accepts the
user ID and password and checks it against my database for access. I have the logic working for
the database portion and it runs as a seperate web page but now I want the login window to popup
small and centered (like on ALOT of web sites) with just that info gathering and nothing else. Then
I need to get the "return" from this window to allow access or not. How do you do this?
Thanks Ahead
Pete