Page 1 of 1

Cookie trouble

Posted: Thu May 16, 2002 11:38 am
by mzfp
ive downloaded a script (tforum) and been working on it for a few weeks now, however the script doesxnt seem to be handling cookies correctly, the purpose of the cookie is to track a visitor who logs in, and also allows a user to save his her password for next login.

could someone please show me how to use the SetCookie function and point any difficulties associated with using cookies on a local machine with Apache server running?

Posted: Thu May 16, 2002 1:45 pm
by fatal
SetCookie info: http://www.php.net/manual/en/function.setcookie.php

And to address the problem with runing apache on your localhost is that you might not have cookies enabled on your browser. To check do this 'Open IE - Tools > Internet Options > Advanced', i think it should be somewhere around there.