Jump to content

Archived

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

hackerkts

Quick qns about cookie

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.

Share this post


Link to post
Share on other sites

×

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.