January 9th, 2012, 11:30 AM
I am trying to setup a security check in PHP that verifies a session variable, to see if the user is still using the same session. The problem is that I get a Forbidden 403 when I login to the system, close the browser and try to access the page.
The code is working because it points to the page that it should if the session is not the same.
Here is the contents of the 403 page:
You don't have permission to access /admin/'http://localhost.dev/admin' on this server.
January 9th, 2012, 06:47 PM
It looks like you're performing a bad redirect somewhere, either in a .htaccess file or via PHP. If I had to guess, I would say that it's supposed to be redirecting you to "http://localhost.dev/admin", not "http://localhost.dev/admin/'http://localhost.dev/admin'".
January 9th, 2012, 11:32 PM
Your link probably looks like
Note the quotes.