Jump to content

[SOLVED] session_start() issues


tetuanrp

Recommended Posts

So I've been trying to figure out why this is occuring on internet explorer, but can't come to a solution. I have a simple login in page (username/password). If verified I create a session and send the user to a new page.

 

At the top of that page, the first line is:

<?php session_start() ?>

 

On ie, when you click login, about 50% of the time, the page that you're taken too with the above php, doesn't load at all. I couldn't figure out why. It seems it's hitting the page, but isn't loading anything. I know this as I then put the php code after the closing </html>, and I'm getting a "cache headers already sent" error on the page, so I assume this is occuring when the php is at the top of the page script, although I'm not actually getting the error code unless I put it at the bottom.

 

Any ideas?

 

Link to comment
https://forums.phpfreaks.com/topic/51727-solved-session_start-issues/
Share on other sites

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.