Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.