session problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

marty pain
Forum Contributor
Posts: 105
Joined: Thu Jun 11, 2009 5:32 am
Location: Essex

Re: session problem

Post by marty pain »

Still think it would be a good idea to post your code. I'll check it here on firefox if you do, just to confirm it.
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: session problem

Post by jackpf »

Yeah, I agree. Post your code, or even better, a link to the page you're referring to (if it's online).
vorius
Forum Newbie
Posts: 8
Joined: Fri Jan 18, 2008 7:05 pm

Re: session problem

Post by vorius »

Ok, I will gladly do that - thanks!

Right now I'm in the process of returning home from overseas
marty pain
Forum Contributor
Posts: 105
Joined: Thu Jun 11, 2009 5:32 am
Location: Essex

Re: session problem

Post by marty pain »

good luck with the move! :D
MindBlast
Forum Newbie
Posts: 1
Joined: Wed Aug 19, 2009 5:01 pm

Re: session problem

Post by MindBlast »

ye, happend to have the same problem.
Similar code:

Code: Select all

 
... code...
... db save...
$_SESSION[_SESSION_KEY_MESSAGE] = 'some message';
header('location:'.$objWebPage->PageURL);
exit();
... code ...
... get db info ...
... display session message ...
... display db info ...
 
Got firefox 3.0.13 and first i thought it was some kind of mistake i made, but it wasn't the case. If i refreshed the page, then the message and the saved record were displaying. But if no refresh, neither the message nor the new record appear.
In IE 7 things were working quite well.
Then i tested the admin from wordpress, and in FF same caching problem.
Then upgraded FF to 3.5.2 -> same thing, same caching problem.

After that i started to disable my firefox addons, and since i don't have that many (only 5), i quickly found which one caused the caching problem. Believe it or not, but it was the addon installed automatically by Skype, which i surely don't need, so after disabling it everything worked perfect.
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: session problem

Post by jackpf »

Wow...who would have thought it...
Post Reply