Search found 5 matches
- Fri Nov 04, 2011 7:34 pm
- Forum: PHP - Code
- Topic: Cookie doesn't set on server
- Replies: 7
- Views: 2155
Re: Cookie doesn't set on server
Sure - now I now what the issue is about - thanks a lot !
- Thu Nov 03, 2011 6:11 pm
- Forum: PHP - Code
- Topic: Cookie doesn't set on server
- Replies: 7
- Views: 2155
Re: Cookie doesn't set on server
The time of the server is Chicago IL that is about 4h difference between my country...
- Thu Nov 03, 2011 5:38 pm
- Forum: PHP - Code
- Topic: Cookie doesn't set on server
- Replies: 7
- Views: 2155
Re: Cookie doesn't set on server
I see - I'm gonna check the time out and I'll mind the extension. Thanks a lot. Speak soon..
- Thu Nov 03, 2011 5:22 pm
- Forum: PHP - Code
- Topic: Cookie doesn't set on server
- Replies: 7
- Views: 2155
Re: Cookie doesn't set on server
Hi - yes it's a dummy domain. The cookie runs on the main domain i.e. ( not on subdomain ). For now I've referred to using $_SESSION instead - helps for as long as the browser is on. But cookie is the proper way for this feature..
- Thu Nov 03, 2011 8:55 am
- Forum: PHP - Code
- Topic: Cookie doesn't set on server
- Replies: 7
- Views: 2155
Cookie doesn't set on server
Hello to all. Yesterday I came across an issue where I can't execute cookie set properly on the server. It works locally though without no problems. The domain's path is "/tmp" for session_path. Here's the code. Thanks for comments: if (!isset($_COOKIE['TestCookie'])) { $vote_com2 = mysqli...