|
Posted by Berimor on 11/16/14 11:31
> Cookies are sent by the client to the server as long as they have
> previously been set by the server . A cookie cannot be set and sent
> simultaneously. I find this confuses the hell out of my students...
>
Sure, do doubt.
But if you read whole thread, problem was about SETTING session variable
and cookies, not sending.
So, if setcookie() was called before session_start() - sure there will be
a problem registering session in your browser - mean writing session ID to
it.
If php ini file set correct the interpretator will rise error.
--
---
Exact Meta Search | Major Search Engine
http://exactsearcher.com
Navigation:
[Reply to this message]
|