log in dialog

hi everybody
I have some qeustion about login dialog .I would like to know how to make or call log in dailog same when you log in  this site (with non-cookie login)
such as
[http://www.experts-exchange.com/jsp/qShow.jsp?ta=cgi&qid=10225785  (non-cookie login)]

please suggest me to do that
thank you
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Depends on which web server is running.

Set the pages such that it does not allow anonymous users and set the rights of the directory depending on the rights to be provided
for non-cookie login dialog, this site sends the header

WWW-Authenticate: Basic realm="Experts Exchange Customer"

Not quite as simple as the www-authenticate - you need to set
status: 401 xxx
but even this is not enough really. because now the browser will display the box but and then send back an encrypted version of what the user enters.  Now you have the problem of how to get that input and process it.  You can certainly do it, but it is a lot of work

If you are using a decent web-serve then you can use the .htaccess system and it will do the whole thing for you.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.