Servertec | Cookie Tester

Content Introduction Release Notes Features FAQs Requirements Installation Add-ons How To Change Log Future Plans Knowledge Base Documentation Samples Hello World Display Arguments Display Headers URL Redirect SSI Tester Servlet Tag Servlet Chaining Log Cookie Counter Cookie Tester Protected Page List Employees Connection Pool Simple Form Dump Form Page Counter File Upload Sales Legal Feedback |
This example displays: Cookies received from browser: ... Cookies added: ... Where ... are cookie key = value pairs. The Servlet also displays a form that can be used to enter new and modify existing cookie key, value pairs. Clicking on Submit sends the values to the Servlet for processing, clicking on Submit without any values refreshes the form and clicking on Reset clears the current values in the fields. This example used 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 © 1997-2000 Servertec. All rights reserved. Last Modified: Sun Jan 09 19:34:23 EST 2000