Re: [PHP] doubt - session file size

2006-07-20 Thread Robert Cummings
On Thu, 2006-07-20 at 01:03, suresh kumar wrote:
 Hi,
 I am having one doubt,i am using session variable for storing details.
 but i am afraid if there is around 1 users,wherether session will
 be able to store all the  datas of 1 users,as i know  abt session
 is that a temporary file will be created in /tmp directory with
 session id name,i dont know how much data that the session file will
 handle.

See your php.ini for setting the path to where you want session files
stored. I don't believe there's a limit to the size of your session
files, that said, there IS a limit as to how much memory PHP is allowed
to consume, and this obviously places an implicit limit on the size of
the session files.

Cheers,
Rob.
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] doubt - session file size

2006-07-20 Thread Chris

Robert Cummings wrote:

On Thu, 2006-07-20 at 01:03, suresh kumar wrote:

Hi,
I am having one doubt,i am using session variable for storing details.
but i am afraid if there is around 1 users,wherether session will
be able to store all the  datas of 1 users,as i know  abt session
is that a temporary file will be created in /tmp directory with
session id name,i dont know how much data that the session file will
handle.


See your php.ini for setting the path to where you want session files
stored. I don't believe there's a limit to the size of your session
files, that said, there IS a limit as to how much memory PHP is allowed
to consume, and this obviously places an implicit limit on the size of
the session files.


There could also be a limit on the number of files you can have per 
directory..


Maybe it's better to use your own custom session handler and store 
everything in a database.


--
Postgresql  php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] doubt - session file size

2006-07-20 Thread Jochem Maas
Chris wrote:
 Robert Cummings wrote:
 On Thu, 2006-07-20 at 01:03, suresh kumar wrote:
 Hi,
 I am having one doubt,i am using session variable for storing details.
 but i am afraid if there is around 1 users,wherether session will
 be able to store all the  datas of 1 users,as i know  abt session
 is that a temporary file will be created in /tmp directory with
 session id name,i dont know how much data that the session file will
 handle.

 See your php.ini for setting the path to where you want session files
 stored. I don't believe there's a limit to the size of your session
 files, that said, there IS a limit as to how much memory PHP is allowed
 to consume, and this obviously places an implicit limit on the size of
 the session files.
 
 There could also be a limit on the number of files you can have per
 directory..

maybe there could be a limit to the number of emails the OP is allowed
to send without ever replying to anyone who offers a possible answer to
his question. :-)

 
 Maybe it's better to use your own custom session handler and store
 everything in a database.
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] doubt - session file size

2006-07-20 Thread tedd
At 5:58 PM +0200 7/20/06, Jochem Maas wrote:
  On Thu, 2006-07-20 at 01:03, suresh kumar wrote:
  Hi,
maybe there could be a limit to the number of emails the OP is allowed
to send without ever replying to anyone who offers a possible answer to
his question. :-)

I think you need to understand the cast system at work here -- he presents 
questions, it's our duty to serve. Maybe in our next life, we'll deserve a 
reply.  :-)

tedd
-- 

http://sperling.com  http://ancientstones.com  http://earthstones.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] doubt - session file size

2006-07-19 Thread suresh kumar
Hi,
 I am having one doubt,i am using session variable for storing details.but 
i am afraid if there is around 1 users,wherether session will be able to 
store all the  datas of 1 users,as i know  abt session is that a temporary 
file will be created in /tmp directory with session id name,i dont know how 
much data that the session file will handle.
   
A.suresh


-
 Find out what India is talking about on Yahoo! Answers India.
 Send FREE SMS from New Yahoo! Messenger to Mobile: Download NOW!