Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cookie creation
Message
De
04/12/2003 14:54:37
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00856027
Message ID:
00856047
Vues:
18
>After executing the following why would I have no cookie present in the cookies folder?
>
>
>        Dim myUri As New Uri("http://www.xyz.com")
>        Dim request As HttpWebRequest = CType(WebRequest.Create(myUri), HttpWebRequest)
>        request.CookieContainer = New CookieContainer
>
>        Dim response As HttpWebResponse = CType(request.GetResponse(), HttpWebResponse)
>        Dim ckyXYZ As New Cookie
>        With ckyXYZ
>            .Comment = "This is a comment for our Cookie"
>            .Domain = "http://www.xyz.com"
>            .Expires = Now.AddMonths(1)
>            .Name = "Fred"
>            .Value = "My Cookies Value"
>        End With
>
>        response.Cookies.Add(ckyAT)
>
>
>
>???

Joe,

I think that IE creates the cookie in memory rather than in a file if the cookie is not marked as persitent.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform