Maintaining Session State in a VSP Application tutorial
Basics SSL example

## Preliminaries

- The Virtuoso Web server can be set up for HTTPS listening, for increased security.
- Passing the session id as a cookie or a URL parameter over HTTP connection is not secure.

## Example

This example uses the most common URL poisoning over SSL connection.

- This example repeats the example VS-U-2, but result of VSP pages is transferred over SSL.
- Make sure that files containing server certificate/key data exists in the server working directory. The following files are required for the example:
  1. virtuoso_cert.pem - server certificate
  2. virtuoso_key.pem - server private key
- The example script defines and starts a HTTPS server on port 4333.