"; echo "Value in cookie is: " . $_COOKIE[$name]; }*/ ?>

Testing Code Outpout:


Testing Code Outpout END

"; /* $expire = time()+3600; // 1 hour expiry $value = "cookie value - string or interger"; setcookie("username",$value,$expire,"/","mkt.webinbd.com",0); // setcookie("username","Himel Sarkar",time()+100, '/'); */ echo "This cookie is valied for 100 sec "; ?> Testing

Hey ! welcome to main page .

PAGE 1

PAGE 2

PAGE 3

Logout

Next Page

Hey ! welcome to main page .

PAGE 1

PAGE 2

PAGE 3

Logout