hiyas

itay222 helped me work out why my asp page cookies were being deleted as soon as ie was closed off, and was because i wasn't setting the expiry data... well i was trying to write a program to go along with this asp page... and well I was using this api call:

Code:
Public Declare Function InternetSetCookie Lib "wininet.dll" Alias "InternetSetCookieA" (ByVal lpszUrlName As String, ByVal lpszCookieName As String, ByVal lpszCookieData As String) As Boolean
but only my program can access the cookie it creates.. and the webpage cookie that i am trying to change the value for ie.. but for my program it can access it fine.. i presume its because i am not setting the expire date.. but there is no option with that api call.. is there anyway to set the expiry data with that api call? or is there another one i can use?

thanx.