|
Posted by Rik Wasmus on 11/08/07 21:08
On Thu, 08 Nov 2007 21:04:30 +0100, damezumari <jannordgreen@gmail.com> =
=
wrote:
> To find out were session variables are stored I included this
> instruction in my program:
> echo ini_get("session.save_path");
>
> The reply was /home/7604/data/tmp which is a folder on my server.
>
> I look at /home/7604/data/tmp and it is full of session files for
> today.
http://nl2.php.net/manual/en/ref.session.php
Check what the chance(!) is that old session files are deleted by the =
garbage collecor:
session.gc_probability 1
session.gc_divisor 1
session.gc_maxlifetime 1440
> Even so, if I have cookies blocked for my site http://easyquestion.net=
> in IE6 or cookies turned off in Mozilla Firefox no session variabesare=
=
> stored.
A browser with cookies turned off, and session settings only allowing =
cookie based sessions will generate a new session on every request. So =
yeah, it would be a quickly growing amount of sessionfiles.
> I don't think it should be like this. I read somewhere
> that 'PHP sessions will work even if the user has cookies disabled."
It could work if you allow it.
session.use_cookies 1
session.use_only_cookies 0
session.use_trans_sid 1
url_rewriter.tags "a=3Dhref,area=3Dhref,frame=3Dsrc,form=3D,fieldset=3D=
"
Don't be very amazed if all your clientele from google seem to have the =
=
same sessionid though...
-- =
Rik Wasmus
Navigation:
[Reply to this message]
|