Quote:
Originally Posted by GrouchyAdmin
You can fill up your session dir and/or have issues with cookies. Remember to destroy your session somewhere, too, and setup a cleanup crontab.
That's ugly, but it'll likely do what you want.
Code:
@start_session();
$_SESSION['clicks'] = (isset($_SESSION['clicks'])) ? (int)$_SESSION['clicks']+1 : 1;
if ($_SESSION['clicks'] > 1){
header ("location: join form");
}
|
and thats where the problem lies, if I destroy the session they can get to more content, right?
I could put the seesion destroy inside the members area but that still leaves a bunch open