Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with cookie
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01044648
Message ID:
01044857
Vues:
17
>I am using Web connection for the first time. I have a problem when using Cookie and Session object. When i use the wwdemo application all runs ok; when i use the new project i have created with the wizard the cookie test function doesn't run correctly. Every time i call the cookie page a new session is created every time even if the session has to be the same. I don't understand if the problem is when i create the cookie or when i call the getcookie to verify data inserted in it. Where are saved the cookie ? which name is assigned to them.

Cookies need to be written into the HTTP a header, so you need to make sure you add a cookie to the header object. Note that this must be done before any other output is sent.

You might want to post your code, so we can see what you're doing.

FWIW, a better place to post messages is on the message board (http://www.west-wind.com/wwThreads/) since I don't check messages here as frequently.

+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform