Maintaining Session State in a VSP Application
VS-U-5 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:
- virtuoso_cert.pem - server certificate
- virtuoso_key.pem - server private key
- The example script defines and starts a HTTPS server on port 4333.
| View the source | Action |
|---|---|
| 1. vs_u_5.sql | Set the initial state |
| 2. default.vsp | |
| 3. front.vsp | Run |
| 4. login.vsp | |
| 5. register.vsp |
OpenLink Home
Technical Support