Re: [PHP] Opinion: PHP Sessions or Cookies

2004-07-14 Thread Justin Patrin
Except that sessions rely on data being passed to and from the client, usually in a cookie. You can do it yourself by passinf the SID manually or using trans sid, but cookies are the normal way to keep the session working. On Wed, 14 Jul 2004 00:10:17 -0700, Dennis Seavers <[EMAIL PROTECTED]> wrot

RE: [PHP] Opinion: PHP Sessions or Cookies

2004-07-14 Thread Dennis Seavers
Just as folks can turn off JavaScript, they can reject cookies. Sessions have some advantages over cookies. > [Original Message] > From: Ed Lazor <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Date: 07/13/2004 2:47:31 PM > Subject: [PHP] Opinion: PHP Sessions or Cookies > > I'm using PHP sessi

Re: [PHP] Opinion: PHP Sessions or Cookies

2004-07-13 Thread Jason Wong
On Wednesday 14 July 2004 12:45, Chris Shiflett wrote: > The way I interpret your question is to ask whether it's better to store > session data on the server (in $_SERVER) or on the client (in cookies). So that people don't get confused: $_SERVER should be $_SESSION. -- Jason Wong -> Gremlins

Re: [PHP] Opinion: PHP Sessions or Cookies

2004-07-13 Thread Chris Shiflett
--- Ed Lazor <[EMAIL PROTECTED]> wrote: > I'm using PHP sessions for user tracking. My host provider's server is > dropping session data. He swears it's my scripts and says I should be > using cookies for better security. That goes completely opposite to my > understanding, so I'd like to run it

RE: [PHP] Opinion: PHP Sessions or Cookies

2004-07-13 Thread Ed Lazor
> -Original Message- > Looks like /tmp directory is out of space. Change the directory to your > own, it's more secure anyway. I keep watching and /tmp seems ok space-wise, but I like the idea of overriding where session files are stored. I just made that change and I'm waiting for feed

Re: [PHP] Opinion: PHP Sessions or Cookies

2004-07-13 Thread Justin Patrin
Sounds like it could be a permissions issue to /tmp, but that's not likely as some work and some don't. More likely, /tmp isn't big enough. Ask the provider to check to see if it's being filled up (you can also check yourself with the 'df' command on the command-line). It could also be an old vers

Re: [PHP] Opinion: PHP Sessions or Cookies

2004-07-13 Thread Marek Kilimajer
Ed Lazor wrote: I'm using PHP sessions for user tracking. My host provider's server is dropping session data. He swears it's my scripts and says I should be using cookies for better security. That goes completely opposite to my understanding, so I'd like to run it by you guys. Which is more sec