Register Pop-up
#3
you could do this in php with sessions and/or cookies

at the top of each page, put something like


<?
//Start Session
session_start(); 

//Define how many views to limit to
$_SESSION[counterlimit] = 5; 

//If the counter hasnt been set, set it
if(!isset($_SESSION[counter])){$_SESSION[counter] = 0;}

//Each time the page loads, increase counter by 1
$_SESSION[counter]++; 

//If the counter equals the limit, redirect to signup page
if($_SESSION[counter] == $_SESSION[counterlimit]){header("Location register.php");}

?>

you could easily set the counter to a minutes value with the date function. So after 5 minutes the user will be prompted on next page load
Reply


Messages In This Thread
Register Pop-up - by TheSeriesBoard.com - 2010-01-23, 11:42 PM
RE: Register Pop-up - by Lo. - 2010-01-24, 04:43 AM
RE: Register Pop-up - by mrpatrickg - 2010-01-24, 08:27 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)