I&#039;ve written a dll which uses the internetSetCookie function. This works brilliantly when I&#039;m trying it from within VB, even if I try to retrive the cookie from within the specified URL.<BR><BR>My problem is when I installed the dll on the server and try to set a cookie, it creates a non-persistent cookie. Where do I go wrong?<BR><BR>this is how the function call looks like:<BR><BR>bSet = InternetSetCookie(URL, "logInfo2", myStr & ";expires=Wed, 15-Aug-2001 11:25:00 GMT")<BR><BR>Can anyone help me?