On 05 March 2004 03:33, Paul Higgins wrote:
When I do: print_r($_COOKIE); I get the following:
Array ( [PHPSESSID] = 11781ce29c68ca7ef563110f37e43f38 )
Does that mean its setting the Cookie?
Yes.
Cheers!
Mike
-
Mike
On Friday 05 March 2004 13:05, Paul Higgins wrote:
When I thought about what the compay really told me...it didn't make sense.
All I know is that that cookie will not save on my WinXP box, but it will
save on my Linux box.
As sending cookies is pretty much a generic procedure which is not
but it will
save on my Linux box.
As sending cookies is pretty much a generic procedure which is not platform
dependent it would suggest that your WinXP box is broken (needless to say I'm
assuming that you have already ensured that your browser is configured to
accept cookies). Have you
Are the hosts u looking at the same ? Like is it the very same link ? Check
on the XP box if you have cookies disabled, u can always check if the
session is being stored on the server too, look in /tmp first. Try a print_r
($_COOKIE); aswell.
Hi everyone,
I'm trying to create a session with
to Medium.
Thanks,
Paul
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP Sessions - Cookies Not Saving
Date: Fri, 5 Mar 2004 14:25:53 +1100 (EST)
Are the hosts u looking at the same ? Like is it the very same link ? Check
on the XP box if you have cookies disabled, u can always
]
Subject: Re: [PHP] PHP Sessions - Cookies Not Saving
Date: Fri, 5 Mar 2004 14:25:53 +1100 (EST)
Are the hosts u looking at the same ? Like is it the very same link ? Check
on the XP box if you have cookies disabled, u can always check if the
session is being stored on the server too, look in /tmp first
wasted. Thanks for the help
though...it was much appreciated!
Paul
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP Sessions - Cookies Not Saving
Date: Fri, 5 Mar 2004 14:25:53 +1100 (EST)
Are the hosts u looking at the same ? Like is it the very same link ?
Check
If there is something in $_COOKIE, what does that mean? That there is a
cookie somewhere? Or is it appending the Session ID to the URL?
Paul
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP Sessions - Cookies Not Saving
Date: Fri, 5 Mar 2004 15:24:32 +1100 (EST
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP Sessions - Cookies Not Saving
Date: Fri, 5 Mar 2004 15:24:32 +1100 (EST)
Is it a non default /tmp ? If so it should be in php.ini or u have to
set where it is with an ini_set , hope that helps
they were stored...on the server...I
am so mad at myself...all that time wasted. Thanks for the help
though...it was much appreciated!
Paul
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP Sessions - Cookies Not Saving
Date: Fri, 5 Mar 2004 14:25:53 +1100 (EST
I have a problem with php and cookies. I use the following line of
code
to set a cookie to expire in one year:
setcookie('gsp_email',$_POST['requiredsubEmail'],time()*60*60*24*365
,'/','',0);
The idea is that the cookie will sit on the client for a year, so that
a
visitor only has to
Jeremy,
I think there might be a JavaScript solution rather than a PHP solution to
your problem.
Depending on which link, either www.english.com or www.francais.com, the
users click from www.mainurl.com you can set a cookie with JavaScript.
Of course this cookie will 'remember' the user's
12 matches
Mail list logo