tetuanrp Posted May 16, 2007 Share Posted May 16, 2007 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? Quote Link to comment https://forums.phpfreaks.com/topic/51727-solved-session_start-issues/ Share on other sites More sharing options...
tetuanrp Posted May 16, 2007 Author Share Posted May 16, 2007 If anyone has this issue in internet explorer, I used: session_cache_limiter('none'); before session_start(), and that did the trick. -R Quote Link to comment https://forums.phpfreaks.com/topic/51727-solved-session_start-issues/#findComment-254816 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.