Servertec Session 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 dumps any existing session settings and values. This script also displays a form that can be used to enter new and modify and remove existing session values.

Clicking on Set Value adds a new or updates an existing session attribute, clicking on Remove Value removes an existing session attribute, clicking on Create Session creates a new session if one does not already exist, clicking on Remove Session removes the existing session and associated session attributes and clicking on Redirect Test redirects the Web browser to sessionredirect.ctf script.

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

Browser cookies are used if session source is set to cookie and URL encoding is used if session source is set to url.

[ 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