|
-
Feb 21st, 2005, 12:00 PM
#1
Thread Starter
Ex-Super Mod'rater
Cookies not being Sent
I can't understand why my cookie isn't being sent, I use the following code:
PHP Code:
setcookie("logincode", $UserGUID, time()+60*60*24*7, "/", "foxhunters.ElectromanUK.com", 0);
and on my PC it works for both FF & IE. However I tried it on my bosses PC and it acted as if the cookie didn't even get sent. I tried changing IEs setting to prompt for when cookies are sent but it never poped up.
The line of code definitly got ran aswell.
When your thread has been resolved please edit the original post in the thread (  )
and amend "-[RESOLVED]-" to the end of the title and change the icon to  , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

-
Feb 21st, 2005, 12:22 PM
#2
Re: Cookies not being Sent
I would check the time settings on your bosses PC. What OS and version of IE does he run? Does he also have any software like a personal firewall which could be intercepting them?
It may also be worth passing the host name in lower case. Internet Explorer may be fussy about that.
-
Feb 21st, 2005, 07:47 PM
#3
Thread Starter
Ex-Super Mod'rater
Re: Cookies not being Sent
Thanx, I'll see if I can find out, I did check the time on the computer and it was right, dunno if the date was right though.
I also checked the time on the server and that was ok too, as it was fixed last time when i notified my host.
BTW if I set the time part to zero it will become a session cookie right? I think i'll be better off doing that from now on ......Will see if that helps, first of all i'm gonna test the domain as lower case .
When your thread has been resolved please edit the original post in the thread (  )
and amend "-[RESOLVED]-" to the end of the title and change the icon to  , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|