Dethman Posted September 29, 2009 Share Posted September 29, 2009 Ive tested this and it did not work can someone please fill me in on why it did not work? <html><!-- #BeginTemplate "/Templates/template.dwt" --> <head> <!-- #BeginEditable "doctitle" --> <title>Pro Flo X-Treme Clean, Inc. - SET Administration Cookie.</title> <!-- #EndEditable --> <link href="styles.css" rel="stylesheet" type="text/css"> <script type="text/javascript"> var cookie_date = new Date ( 2012, 01, 01 ); document.cookie = "administrator=yes; firstName=Brian; lastName=Flores; [email protected]; expires=" + cookie_date.toGMTString(); var cookie = document.cookie; if( administrator ){ location.href="index.htm"; } </script> </head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#06780e"> </body> <!-- #EndTemplate --></html> Quote Link to comment https://forums.phpfreaks.com/topic/175956-setting-cooking-and-using-it/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.