Jump to content

Quick qns about cookie


hackerkts

Recommended Posts

This is the format of setting cookie
[code]setcookie(name, value, expire, path, domain);[/code]

If I didn't set the path and domain, will the cookie be allow to use in all my site ?

Example:
My site is http://sky.cwhnetworks.com/
And I only set the cookie name, value and the time it last. Will the cookie able to use in other page like http://sky.cwhnetworks.com/php/index.php etcs..

Thanks in advance.
Link to comment
https://forums.phpfreaks.com/topic/16010-quick-qns-about-cookie/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.