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!!!

Recommended Answers

All 2 Replies

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?

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

I think if you add that to the <head> it will work

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.