943,717 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 419
  • PHP RSS
Apr 4th, 2009
0

http authentication in php

Expand Post »
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!!!
Similar Threads
Reputation Points: 8
Solved Threads: 3
Junior Poster
Acute is offline Offline
128 posts
since Mar 2009
Apr 4th, 2009
0

Re: http authentication in php

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?
Reputation Points: 20
Solved Threads: 13
Junior Poster in Training
humbug is offline Offline
93 posts
since Oct 2005
Apr 4th, 2009
-7

Re: http authentication in php

<HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">

I think if you add that to the <head> it will work
Moderator
Featured Poster
Reputation Points: 1764
Solved Threads: 574
Moderator
jbennet is offline Offline
16,505 posts
since Apr 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: help: Very Simple Image Display!
Next Thread in PHP Forum Timeline: Enter keyword in search box of any website using php script





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC