Web Hosting Talk







View Full Version : Server Can not Register Cookies


AlexP
02-09-2004, 01:56 AM
Dear Sirs/(Ladies if any)

The question I think is simple. The answer is simple for some, and tricky for others.

I run apache 1.3.29 with PHP 4.3.4 on Windows 2000 pro platform (FOR TESTING PURPOSES)

Cookies do not work.

Any suggestions will help me save some precious time from my hectic timetable.

I have a whole site to develop. My problem is that I can develop and program whole sites, but I am completely nuts on those server technologies.

Thanks

Alex P
----------

AlexP
02-09-2004, 07:27 AM
Nobody knows?

Do you need more info?

Thanks
Alex

sprintserve
02-09-2004, 08:45 AM
What is being used to create the cookies? PHP ? Do you make sure that the temp directories exist on your windows server? Check your php.ini.

fusionrays
02-09-2004, 09:46 AM
Aren't cookies client side?

Or am I missing something here?

stdunbar
02-09-2004, 11:36 AM
Cookies do not work.

Can you supply some more information? How are you setting the cookie, what is the path and host, what is the expiration date or is this a session cookie?



I have a whole site to develop. My problem is that I can develop and program whole sites, but I am completely nuts on those server technologies.

Well, we're in the same type of boat but it is sailing in different directions - I only seem to get the server side stuff :)

AlexP
02-10-2004, 07:29 AM
Huts off to SprintServe.

But thanks all for coming here anyway.

Thanks

Problem sorted out.

I simply created a folder with name "tmp" at D:/

So all the temporary cookies can go there.

DICKY!!!!

Thanks

Now it works like a charm!!!!!



Alex
--------

Brightadmin
02-11-2004, 05:37 AM
Hi

Try this !

In your web pages include the following codes .

<HEAD><META HTTP-EQUIV=\"Set-Cookie\" CONTENT=\"frogparts=1; expires=01-Jan-97
13:21:17 GMT\"></HEAD>

The browser, when it determines it has any cookies appropriate for the server and
path, will feed Cookie: variable=value; variable=value

Hope this will work for you.

Regards,

sprintserve
02-11-2004, 05:40 AM
Brightadmin, please read the full thread. You have been answering a few threads (not only this) which the poster have already replied that it is resolved.