Jump to content

Archived

This topic is now archived and is closed to further replies.

Nancy

.htaccess $AUTH_USER passed to cart login?

Recommended Posts

I wish to have users authenticate to access the cart and have password protected the main directory. Rather than have them log in twice, I was wondering if there was a way to pass the .htaccess authentication directly to the cart so when someone logs onto the protected directory, it automatically logs them into their tep account (both user names and passwords would be the same). Is there a way to pass the variables?

Share this post


Link to post
Share on other sites

Haven't tried this but you should be able to just grab the .htaccess data from the http vars and copy it to the osC login data... need to do it in application_top.php I guess.

 

Mattice


"Politics is the art of preventing people from taking part in affairs which properly concern them"

Share this post


Link to post
Share on other sites

×