Page 1 of 1

Session and user browser

Posted: Thu Sep 23, 2004 4:40 am
by pelegk2
i saw that sesions that i do like this :

Code: Select all

session_start() ;
 $_SESSIONї'count']=44;
now when i i looked at the pc temp i saw that these values are written there in a session cookie!
1)dosen't the session stored only in the server memoery?or the browser RAM?
2)can i block this session from being written on my pc? if yes then how?and will it block the session from being written on my pc will it be saved on the seervers ram?
thnaks in advance
peleg

Posted: Thu Sep 23, 2004 5:11 am
by timvw
why would you want that? btw, if your argument is "speed", every self-respecting OS will cache a often used file in memory.

Posted: Thu Sep 23, 2004 5:21 am
by pelegk2
what?
just for general knowloedge!

Posted: Thu Sep 23, 2004 5:49 am
by CoderGoblin
Depends on how the session code is set up. Session variables are often placed on the server within a database as opposed to cookies on the users PC.

Posted: Thu Sep 23, 2004 6:43 am
by timvw
Thus it must be possible to write your own session handling using [php_man]shmop[/php_man]