Servertec Cookie Tester
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Reference Manual
Samples
hello
args
headers
redirect
include
make
log
cookiecounter
listemployees
simpleform
dumpform
pagecounter
cookietester
dumpconfig
contexttester
sessiontester
Legal
Contact Us

 

This example allows creating, updating and displaying client-side cookies.

Where cookies are key, value pairs.

This script displays a form that can be used to enter new and modify and remove existing cookie key, value pairs.

Clicking on Set Cookie adds a new cookie or updates and existing cookie and clicking on Remove Cookie removes the existing cookie.

This example uses buffered response output in order to be able to set the cookie value. Cookies must be sent along with the header before any other output is sent to the client's browser.

[ view source ] [ run ]

 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Sun Sep 04 14:56:19 EDT 2005