RE: [PHP] RE: [PHP-GENERAL] Session - ASP Vs. PHP

From: Date: Tue, 27 Jun 2000 23:17:27 +0000
Subject: RE: [PHP] RE: [PHP-GENERAL] Session - ASP Vs. PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-3470@lists.php.net to get a copy of this message
In the default configuration, each user's session is stored in a separate file in the /tmp directory (on Unix). The files are named: sess_<sessionid>. I have read several posts that suggest that this will probably give the best performance on most systems. You can also configure PHP4 sessions to store the session data anywhere you wanted. For a distributed site it would make sense to have the session data on an NFS share or common database. The section of the documentation on sessions documents this (amazing!). There have been several messages and articles giving examples of how this is done as well. > -----Original Message----- > From: Thomas Edison Jr. [mailto:thomasedisonjr@yahoo.com] > Sent: Tuesday, June 27, 2000 8:43 AM > To: porky's den > Cc: php-general@lists.php.net > Subject: [PHP] RE: [PHP-GENERAL] Session - ASP Vs. PHP > > > Porky, > > much thanx for your help with sessions here. > Ok, so i think i'm getting the idea. Now biggest > mystery is - Where is this file in which the session > is getting stored?? What is it's name? and how is it > created? It's just like in ASP we have the Global.ASA > to handle this stuff - what is the equivalent of > global.ass in PHP?? > > Secondly, can we register any amount of session > variables with session_register() ?? > > many many thanx, > T. Edison jr. > > > ===== > Rahul S. Johari (Director) > ****************************************** > Abraxas Technologies Inc. > Homepage : http://www.abraxastech.com > Email : abraxastech@yahoo.com > Tel : 91-4546512/4522124 > ******************************************* > > __________________________________________________ > Do You Yahoo!? > Get Yahoo! Mail - Free email you can access from anywhere! > http://mail.yahoo.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#3470) next »