Ask a Question related to PHP Development, Design and Development.
-
Phil Powell #1
PHP and cookies
ok I have a question maybe this might help
if you have $_COOKIE['nordicnet_registration'] that is a session cookie in
path '/'
you also have a cookie $_COOKIE['nordicnet_bestilling'] that is a 24-hour
timed cookie in path '/'
what is the behavior of BOTH cookies?
I need to know this because the scope of the "bestilling" cookie is to be a
24-hour timed cookie used in the shopping cart process. However, the scope
of the cookie has been erratic. If I as a user order an item, it adds it to
my cart db, however, the bestilling_id is not the correct value; it turns
out to be the value of the deleted cookie of the prior session!
Can someone help make sense out of this? I am having cookie trouble again
in PHP.
Phil
PS: To give this more scope, I am located on the East Coast of the U.S. and
the server where the scripts are to reside live is in eastern Norway, 6
hours ahead of me.
Phil Powell Guest
-
Cookies in FMS
In my application Flash Media Server 2 makes HTTP requests to retrieve configuration data. Page that is requestet sets some cookies. I was very... -
Help with cookies
I'm having trouble accessing my cookies after they're set. If I do a response.write on the cookie value immediately after it's set in code, it... -
php cookies
Is it possible to set php cookies to delete after a period of user inactivity & if so how? -
cookies under php 4.06
okay, i know this is stupid, and i'm gonna kick myself when someone points out the obvious... i've just put a site online, and found the server's... -
Some cookies are being set, some aren't
I've got a problem with cookies failing. Here's the setup- A staging server, RedHat Linux, with php 4.3 Main server, FreeBSD, also php 4.3 ...



Reply With Quote

