Forum Moderators: phranque

Message Too Old, No Replies

Single Sign On.

I've seen this done with mod_rewrite..

         

Janus

12:32 am on Oct 4, 2005 (gmt 0)



I'll confess up front I'm a little green still at some of these advanced topics like mod_rewrite, but I'm learning it as quickly as I can. I have been searching for a kind of how-to on this subject, but I haven't seen a whole lot, or at least haven't came across the correct site.

I have a membership system I'm developing that protects a directory on my web site and only allows in authorized users. Right now I have to prompt twice for every user, once in the php login pages, and then once at the .htaccess protected directory. What I would like to figure out how to do would be to only prompt one login (my desire is the php page) and have that login information pass through to the .htaccess prompt and log the user in.

Is this doable with mod_rewrite? Or is there something else I should look up and read about that may do the same thing?

Thanks for any help anyone can offer me! :)