Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to set a cookie?
Message
De
22/05/2008 16:17:33
 
 
À
22/05/2008 16:13:38
Information générale
Forum:
Visual Basic
Catégorie:
Applications Internet
Divers
Thread ID:
01319042
Message ID:
01319111
Vues:
12
>This time, it has to happen on my side of the code. I'm being sent the name-value pair by a dictionary call (it's a commercial server), and I have to use my VB code to set the cookie on the user's machine. I'm sure it can be done, but I have no idea as to how.

Well, for sure, you will not have an access to the response object as this is a server object. What I have done close to that, was to enable a cookie container, for a Web Service client, built in such interface, so once I send another request, the cookie would then be sent as well. If the cookie container is not set, whatever will be sent will not include the cookie that the server sent in the first place. But, in your case, you want to build the entire cookie container on your side. There is probably a way to do it.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform