The problem I have is when the visitor needs to use the secure parts of my site. The secure url is different from the non-secure one (e.g. https://secure.site.com and http://www.site.com).
I'm setting the id as follows:
setcookie("id", $uniqueid, $longlifetime);
How can I make this cookie accessible/viewable from within https://secure.site.com?