Jump to content

Archived

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

ramu_rp2005

What does setcookie do in My function??

Recommended Posts

hi guys,
i've a function:

[code]if ( isset ($LocationID) )
{
    
ob_start();
    
setcookie("HostLocationID",$LocationID);
    ob_end_flush();
    //echo "===$LocationID====";


}[/code]


Now, wht does this setcookie function do over here.does it pass any value to another form.


Share this post


Link to post
Share on other sites
no it drops a cookie in your visitors cookie file in the home computer

Share this post


Link to post
Share on other sites


ok.where will that visitors cookie file be stored.the location id used here is not assigned any value.this is my first form of the web page,so from where the $locationid value come from.

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.