By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,259 Members | 1,333 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,259 IT Pros & Developers. It's quick & easy.

Session data randomly lost.

P: n/a
Hi All,

When viewing my php page using IE6.0, I am losing my session data.

In the first page I am setting a value to the session variable. In the
next page "SOME TIME" the value of the session variable is not same
as what I set in the previous page. My session data is lost.

This is happening very frequently in IE6.0 sp2 and very less frequently
in IE6.0 sp1.

In my php script I am using Ouput Buffering. If I disable my Output
Buffering php script works fine, Session data is not lost. The random
loss of session data is happening only when Output Buffereing is

I donot understand the dependency between Ouput buffering and IE. I
donot want to disable the ouput buffering also. Can anybody help me out
in fixing this problem.

Sep 19 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Not really sure if it will help, but try flushing the output buffer
after you set your session variables with ob_end_flush()

Sep 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.