downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Configurazione di Runtime> <Requisiti
[edit] Last updated: Fri, 17 May 2013

view this page in

Installazione

Session support is enabled in PHP by default. If you would not like to build your PHP with session support, you should specify the --disable-session option to configure. To use shared memory allocation (mm) for session storage configure PHP --with-mm[=DIR] .

La versione per Windows di PHP ha giĆ  compilato il supporto per questo modulo. Non occorre caricare alcun modulo addizionale per potere utilizzare queste funzioni.

Nota:

By default, all data related to a particular session will be stored in a file in the directory specified by the session.save_path INI option. A file for each session (regardless of if any data is associated with that session) will be created. This is due to the fact that a session is opened (a file is created) but no data is even written to that file. Note that this behavior is a side-effect of the limitations of working with the file system and it is possible that a custom session handler (such as one which uses a database) does not keep track of sessions which store no data.



add a note add a note User Contributed Notes Installazione - [1 notes]
up
-3
NOSPAM_tim at tim-jarrett dot com_NOSPAM
4 years ago
At least on Mac OS X 10.5.6 running PHP 5.2.6 installed via Macports, the default session.save_path shows up as "". After some poking around, I discovered that that means: /private/var/tmp (not /private/tmp).

 
show source | credits | stats | sitemap | contact | advertising | mirror sites