PHP: Regenerating Session ID End Session If Double Click/Refresh

Soldato
Joined
26 Jun 2009
Posts
3,023
Location
Sheffield
Howdo,

I have a bit of a problem, I'm using:

PHP:
session_regenerate_id(true);

In my session script, and whenever you refresh twice quickly or click a link again if it doesn't load straight away, the session is ended.

Is there any way to get around this? Do I even need to regenerate the session id with every request?
 
Back
Top Bottom