Cookie Test

Samples Show Code Refresh Page
If you hit this page repeatedly and your browser supports HTTP Cookies, you should see the Cookie value below stay the same. If you navigate away and come back to this page within 20 minutes the value should still be the same. The value is stored on the client side by the browser and can be used to keep state for applications like stores or multiple form transactions. Cookies are best used for ID values that reference data in a database or the Session object rather than storing actual data inside of the cookie itself.

Cookies can be stored permanently, but Web Connection's Response::AddCookie() method has a a default lifetime of the Browser Session - if you shut down and restart your browser a new ID will be assigned...

Cookie Value (wwUserId): _3FG0EEZNH

Powered by Web Connection © West Wind Technologies, 1995 - 2012
Web Connection demo page | Show Code