About PHP Session and Cookies

PHP sessions and cookies are supported in applications compiled with ExeOutput for PHP.

By default, PHP stores session files into the local user's temp folder.

If you want, you can set the session file path to be virtual (i.e. in the memory only, and no writing to the hard disk). Go to the PHP.INI editor page in ExeOutput for PHP, and change the PHP.INI directive for session.save_path to: session.save_path = "%EXOPHPVIRTUALTEMP%"

For instance:

[Session]
; Handler used to store/retrieve data.                          
; http://php.net/session.save-handler
session.save_handler = files

; Argument passed to save_handler.  In the case of files, this is the path
; where data files are stored. Note: Windows users have to change this
; variable in order 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 SESSION and HTTP cookies within your ExeOutput for PHP apps.

See also: global variables