• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

I have a big problem

Epgs

NLC Honorary Member
NLC
Ok is there any way to link two password protected areas together so that when you are logged into one you can go to the other without having to log in again? Is there a password cgi-script that will do it. Like place a uniform cookie in the computer so that both scripts will notice the person.

Thank you

[Edited by Peo on 11-25-2000 at 05:04 PM]
 
htaccess

why not use .htaccess?
and have they reference to the same .htpasswd file.

melz.

[Edited by Peo on 11-25-2000 at 05:04 PM]
 
Originally posted by Epgs
Ok is there any way to link two password protected areas together so that when you are logged into one you can go to the other without having to log in again? Is there a password cgi-script that will do it. Like place a uniform cookie in the computer so that both scripts will notice the person.

Thank you

[Edited by Peo on 11-25-2000 at 05:04 PM]

Yes, usually this is done with a cookie and a session. Authenticate a session for a given user, and then have a cron script expire all sessions past a certain time (like 2 hours), so they need to re-authenticate. Have all scripts that want to authenticate use that same sessions file.

I don't know if I explained this very well for you, tell me if you don't understand.

mjk@atlascgi.com
 
Back
Top