Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How Can I write / read cookies with ASP…
Message
Information générale
Forum:
Internet
Catégorie:
Active Server Page
Divers
Thread ID:
00393238
Message ID:
00393545
Vues:
15
>>I know this is a simple question but I am new at this.
>>How can I write and read cookies with ASP?
>>I like to write and read a cookie so when the user comes back to the site I will reset is default setting.
>>
>>The main use of this is to save is User Name and Password in a cookie. This way the use do not have to login when he comes back to the web site.
>
>Do a search on MSDN for cookie... here's a small example of writing one out;
>
>Response.Cookies("EmailAddress") = dennis@microsoft.com

And to read one in:

strEmailAddress = Request.Cookies("EmailAddress")
"It is an important and popular fact that things are not always what they seem. For instance, on the planet Earth, man had always assumed that he was more intelligent than dolphins because he had achieved so much -- the wheel, New York, wars and so on -- whilst all the dolphins had ever done was muck about in the water having a good time. But conversely, the dolphins had always believed that they were far more intelligent than man -- for precisely the same reasons." - Douglas Adams
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform