Jump to content

Cookies won't work with login file included


Mutley

Recommended Posts

I have included my login page into a HTML page.

It had a "Cannot modify headers already sent" error, which I got rid of using:
[code]error_reporting(0);
[/code]

However, when I try to login, it doesn't seem to work, it just redirects me back to the login, like the cookies arn't working, however going to the separate login file when not included, it works fine.

Any ideas? Would it be anything to do with the header and ob_start?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.