mirror
asked on
Expert Exchange's: Login USERNAME & PASSWORD Window
Before any of us can get into Expert Exchange we all have to LOGIN. Automatically a window pops up asking for USERNAME and PASSWORD. We enter those in and the window data is submitted back to the CGI.
How does Expert Echange do this without using Javascript? I am using Netscape and it pops up as if the CGI of EE has sent back data trigerring the box to pop up.
What is the code to do such a thing? I do not want to use Javascript because I want to pop up such a window for every browser.
Any help would be greatly appreciated!
How does Expert Echange do this without using Javascript? I am using Netscape and it pops up as if the CGI of EE has sent back data trigerring the box to pop up.
What is the code to do such a thing? I do not want to use Javascript because I want to pop up such a window for every browser.
Any help would be greatly appreciated!
.htaccess .htpasswd
You were right about CGI. It's probaby a script written in Perl. You need the perl executable running on the server to do so.
ozo's comment is correct, no Perl script involved in logging in. Answer the question :-)
Confirming... no Script, no perl, no Java...
If the comment was enough to point mirror to the desired answer,
then I'll mark it as an answer. Otherwise, perhaps we may need to
know what server mirror is using, and depending on what that is,
another expert may want to answer.
(Perhaps linda or wormzer if the question is specifically about the EE site)
then I'll mark it as an answer. Otherwise, perhaps we may need to
know what server mirror is using, and depending on what that is,
another expert may want to answer.
(Perhaps linda or wormzer if the question is specifically about the EE site)
Then what code does the browser get to know to pop up that window? Be technical.
HTTP/1.0 401 Unauthorized
Date: Sat, 06 Dec 1997 01:17:03 GMT
Server: Apache/1.1.2
Content-type: text/html
WWW-Authenticate: Basic realm="Experts Exchange Customer"
Date: Sat, 06 Dec 1997 01:17:03 GMT
Server: Apache/1.1.2
Content-type: text/html
WWW-Authenticate: Basic realm="Experts Exchange Customer"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.