Page 1 of 1

Enabling Cookies

Posted: Sun Aug 24, 2003 2:22 pm
by Source
I have MySQL, php and Apache installed on my machine and I'm having problems enabling cookies, so that I could test my site before I upload it to the real server. I've edited configs of apache and php and set everything I could find about cookies to yes, but it doesn't work.

Am I missing something? What variables should I change in the config?

Posted: Sun Aug 24, 2003 2:49 pm
by swirlee
Generally speaking, to get cookies to work, there's nothing to configure on the server side. A vanilla installation of PHP/Apache should work just fine without any tweaking. What exactly are you trying to do with cookies? Can we see the part of your code that deals specifically with cookies?

Posted: Sun Aug 24, 2003 8:20 pm
by Joel
Are you sure you have cookies enabled on your browser?

Posted: Mon Aug 25, 2003 2:21 am
by sigix
yes I think nothing needs to be configured on the server side for cookies to work on default (vl....) configuration
are you getting any warnings ..errors .... :?:

Posted: Mon Aug 25, 2003 6:02 am
by Redcircle
Make sure you have a temp dir created. (c:\tmp) under windows.