PHP sessions and cookies are supported in applications built with ExeOutput for PHP.
By default, PHP stores session files in the local user’s temporary folder.
If you prefer, you can set the session file path to be virtual (i.e., in memory only, not written to the hard disk). To do this, go to the PHP.INI editor page in ExeOutput for PHP and change the session.save_path directive to:
session.save_path = "%EXOPHPVIRTUALTEMP%"
For example:
[Session]
; Handler used to store and retrieve data.
; http://php.net/session.save-handler
session.save_handler = files
; Argument passed to save_handler. For files, this is the path
; where data files are stored. Note: Windows users must change this
; variable to use PHP's session functions.
;
; The path can be defined as:
;
session.save_path = "%EXOPHPVIRTUALTEMP%"Tip
Please refer to the Session and Cookies topic of the General Demonstration for demonstrations and more explanations about integrating PHP sessions and HTTP cookies within your ExeOutput for PHP apps.
See also: Global Variables