Information générale
Catégorie:
Active Server Page
John
I'm assuming you're using NT Server w/IIS? If so, create a folder under your www root folder, open
IIS Manager, find the new folder, properties, security, and uncheck 'Allow anonymous access'.
From that point, anytime you reference any URL inside that folder will cause IE/NS to launch the
userid/password box. The credentials are validated based on Local NT usernames on the IIS server
that have access to that folder.
So your link from your login link would be 'http://myserver/newfolder/welcome.html'
Assuming now that newfolder does not have anonymous access, a login box will appear
before the user is allowed access to anything in that folder.
HTH
>Thanks Ed. How do I:
>1. prompt the user for username and password when he clicks the login link
>2. go to appropriate dir I would guess with redirect
>Thannks
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement