Sessions can be created using the SessionID option in the sa_set_http_option system procedure. The session ID can be defined by any non-null string.
Session state management is supported by URLs and cookies. HTTP sessions can be accessed using HTTP cookies, or through the URL of a GET request or from within the body of a POST (x-www-form-urlencoded) request. For example, the following URL utilizes the XYZ database connection when it executes:
http://localhost/sa_svc?SESSIONID=XYZ |
The request is processed as a standard session-less request if an XYZ database connection does not exist.
How to use the URL to manage a session
How to use cookies to manage a session
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0 |