/    Sign up×
Community /Pin to ProfileBookmark

Mozilla and PHP Sessions (developer must-read)

I have found a problem with Mozilla and cookies (in turn, PHP sessions).

I have tested both in Mozilla and IE.

When I connect to a page, say, [url]www.internationalscholarships.com/cobrand/[/url], and I click a few links, it starts to “lag out”. You won’t be able to load another page in the entire site until you clear your cookies. I have struggled to find the problem in my code that caused this. The problem went away when I removed session_start() from the header file.

Great news, now I have a hint as to what’s causing this. So, for some reason I started to become suspicious of the way Mozilla Firefox handles cookies. I loaded up IE and connected to [url]www.internationalscholarships.com/cobrand/[/url]. I could click around flawlessly, the page never took more than a split second to load. I went back to Firefox and tried again, and it lagged up again.

While I want to say that it’s Firefox that’s causing this problem, I don’t see it happen on any sites other than my own (as far as I know). Has anyone had any experience with such a problem? Anyone have any related info?

to post a comment
PHP

0Be the first to comment 😎

×

Success!

Help @chrys spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...