Link to home
Start Free TrialLog in
Avatar of Azurewave
Azurewave

asked on

Login into httaccess Auth through form

I'm trying to develop a way for my users to login into a protected area, I need htaccess because of the severity of the contents, so I can't have sessions etc.  I also need to use a form since I am using some additional stuff from the form to tie it with a cms.

Anyway the software works fine in FF, but when it comes to IE there is a huge issue.

I've tried serveral things, and nothing seems to work.  Does anyone know if there is a way i can achieve this without having to login through basic auth?  even if it's by using some other programming language other than PHP, or modules?

I just need an additional gateway somewhere that i can just pass the username and password after I am done with all my checks.  Hopefully someone can shed some light on this.
this failed me
echo "<META HTTP-EQUIV=REFRESH CONTENT=\"0; URL=http://$username:$password@www.mydomain.com/restricted/index.html\">";
 
this also failed me
header("Location: http://$username:$password@www.mydomain.com/restricted/index.html");

Open in new window

Avatar of Mark Gilbert
Mark Gilbert
Flag of United States of America image

Hi KB, I believe that the answer I provided gave the asker a correct answer on this and wasn't aware that the link I provided hadn't helped.  Had I been given any feedback I would have been able to address any issues or concerns.  Additionally, please provide a link to the CS posting so that I can review any comments there.  Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Azurewave
Azurewave

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi Azurewave, I wasn't aware that you had found another solution to this issue and had gone with that instead.  I took no reply on this question as being resolved as I recieve notices on each response.  I have been on EE for a number of years and always find it helpful to know that something has either helped or has not via comments once I've posted a suggested solution, so that I can post additional information or solutions to the problem.  I also invest quite a bit of time and effort in providing the guidance that I do and found it surprising to have a delete notice without any explanation.

For your reference, I wanted to let you know that the help pages also contain many good suggestions on how to close questions, along with what to do if something doesn't work.  Sometimes the answers aren't what you are looking for, and in this case you've had to use a 3rd party solution to augment your existing security solutions.

KB, please delete and refund.
Avatar of Azurewave
Azurewave

ASKER

Ah alright, sorry I am still new to EE still trying to get the hang of this kind of thing.  but so far everyone has been very helpful.  Thank you, I will make notable next time I encounter something like this again.  Thanks again.
Closed, 500 points refunded.
Vee_Mod
Community Support Moderator