I really need some help, i use a cgi program called newspro for people to log in and add news to my site, and when they log in a cookie called newspro is set on the visitors machine. I need to detect if the cookie is present and then re-direct to different pages depending on if a user is logged in or not. The cookie made is called newspor and is stored in temp net files folder. heres what i think it should be like
<?php
if (isset ($newspro))
{
print("<BODY>You have already logged in.</BODY>");
}
else
{
print("<BODY><br>You haven't logged in</BODY>");
}
?>
please help me!
Scott