http authentication in php

Reply

Join Date: Mar 2009
Posts: 24
Reputation: Acute is an unknown quantity at this point 
Solved Threads: 1
Acute's Avatar
Acute Acute is offline Offline
Newbie Poster

http authentication in php

 
0
  #1
Apr 4th, 2009
Hi everybody!
I have a problem here while using an http authentication:
when you open the page with http-auth code in the browser, the user-name and password box appears-it is Ok, however, I can't make the user-name&password box to apperar again....For example, if you login wrong user-name or pw you can't try again, you must close the browser and open it again to login.

I'm sure most of php programmers know what i mean=>help me!!!
Reply With Quote Quick reply to this message  
Join Date: Oct 2005
Posts: 93
Reputation: humbug is an unknown quantity at this point 
Solved Threads: 13
humbug's Avatar
humbug humbug is offline Offline
Junior Poster in Training

Re: http authentication in php

 
0
  #2
Apr 4th, 2009
You need to post the relevant code for anyone to know what's going on. Is the code that checks the input data and the code that displays the input boxes on the same page? Does refreshing/reloading the page allow you to retry?
"If your not having fun, your doing something wrong." - Humbug
★ Did I help you out? Did I piss you off? Add to my reputation!
The Gabriel Method is a great book for losing weight and keeping healthy - I know Jon Gabriel Personally.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,273
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 544
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: http authentication in php

 
-7
  #3
Apr 4th, 2009
<HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">

I think if you add that to the <head> it will work
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for PHP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC