Connection identification

I want to make a script with authorization. How can I recognize a user after login? For example: when I open EE page, I get a login dialog, but after login I can browse EE, and no information about my login/password is passed to next pages? How is it done?
How can I do that with CGI EXPERT?

Greetings,

Hobbit123
hobbit123Asked:
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.

helverCommented:
EE uses cookies to store your identification.  Once you've been authenticated, it sets a cookie on your browser which lives for an extended period of time.  Each page access you make sends the cookie back to the EE web server which reads it and customizes the page based on who you are.
0
hobbit123Author Commented:
What about non-cookie browsers?
0
BigRatCommented:
There is a non-cookie login which then has to send/receive your login name with each page. But most browsers handle cookies.
0
jhurstCommented:
ee uses cookies for those who use cookies but uses Basic-Authentication - this is where you see that pop-up that asks for name and password.  A server that requires a browser to authenticate sends a 401 response that causes the pop up - then the browser sends the user name and password and if ok the server lets him in.  From then, till the session is closed, the environment variable HTTP_USER is set at the server end by all transactions with the browser so that EE knows who you are by this.
0

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.