OK, I'm working on a modification to a webpage where I need to set cookies for a particular functionality. Having worked with cookies & PHP before, I know that the cookie value will not take until AFTER the page is refreshed. Since this cookie will be set on every page, I don't really want to refresh it everytime. So, I want to now if I jsut setCookie, then the user clicks a link, will that be sufficient, or do I really need to find a different way to do this? Secondly, if I setcookie, don't refresh, and then the user goes to a new website, sy by either a click to the new site, or by entering an address in the address bar, will the cookie remain intact (it's going to be a session variable, so I don't care once they close their browser.)?

TG