Re: [PHP-WIN] So why do I need session?

2007-04-10 Thread Stut
Mikael Grön wrote: Are you asking someone specifically, or is this a general question? Here's an example of when sessions are useful: You have a login area on your website on which users who have registered can log in to access special content. Only, you want such a high security on your websi

Re: [PHP-WIN] So why do I need session?

2007-04-10 Thread Mikael Grön
Yes, no, you're right. I don't do that on every page on the systems I've built. And yes, I define('USER','The user namespace'); before I set it. Mike Stut skrev: Out of curiosity, why do you create the user object on every page request? Why not store the user object in the session? Also, $GL

Re: [PHP-WIN] So why do I need session?

2007-04-10 Thread Mikael Grön
Are you asking someone specifically, or is this a general question? Here's an example of when sessions are useful: You have a login area on your website on which users who have registered can log in to access special content. Only, you want such a high security on your website so that people sh

[PHP-WIN] So why do I need session?

2007-04-10 Thread sam rumaizan
You use a session to store values that are required over the course of a single visit, and a cookie to store more persistent data that is used over multiple visits. Session: when you close the browser the session gets flushed. Which means the browser will not recognize the user next time he/s

RE: [PHP-WIN] Did anyone receive the same email

2007-04-10 Thread Bill Bolte
I get at least one a day since last week... -Original Message- From: sam rumaizan [mailto:[EMAIL PROTECTED] Sent: Monday, April 09, 2007 11:17 PM To: php-windows@lists.php.net Subject: [PHP-WIN] Did anyone receive the same email Did anyone receive the same email? I did not ask to be un