Hi again,
I have the following code to first start a session and then write a
cookie... is that so hard? Well it is starting the session but the cookie is
not being set. see:
$row = mysql_fetch_array($result);
$_SESSION[user] = $row[member_id];
if ($_POST[autologin] == yes)
{
$id =
] No cookie is being set?
Hi again,
I have the following code to first start a session and then write a
cookie... is that so hard? Well it is starting the session but the cookie is
not being set. see:
$row = mysql_fetch_array($result);
$_SESSION[user] = $row[member_id];
if ($_POST[autologin] == yes
]
Subject: [PHP] No cookie is being set?
Hi again,
I have the following code to first start a session and then write a
cookie... is that so hard? Well it is starting the session but the cookie
is
not being set. see:
$row = mysql_fetch_array($result);
$_SESSION[user] = $row[member_id
?
-Original Message-
From: Cesar Aracena [mailto:[EMAIL PROTECTED]
Sent: Friday, January 02, 2004 2:28 AM
To: [EMAIL PROTECTED]
Subject: [PHP] No cookie is being set?
Hi again,
I have the following code to first start a session and then write a
cookie... is that so hard? Well
--- Cesar Aracena [EMAIL PROTECTED] wrote:
I have the following code to first start a session and then write a
cookie... is that so hard?
Not hard at all. However, when trying to identify a problem, it is much
easier to try to isolate it. Forget the session, and see if you can set a
cookie:
?
--- Larry Brown [EMAIL PROTECTED] wrote:
when I find a function doesn't work right and I am using variables
in its execution I run an echo/die combination immediately before
the function to verify the data being fed to it is as it should be.
This is a very good suggestion, although your
Hi all, and thanks for all your kind hel.
I found the problem although I don't know what was causing it. I simply
moved the setcookie() function to another page (standalone to say) and it
worked perfectly... my Cookies folder started to show/delete the cookie on
each request, and also the site
7 matches
Mail list logo