note 3188 deleted from session_register by sas
| From: | sas@php.net | Date: | Thu, 17 Aug 2000 19:33:04 +0000 |
| Subject: | note 3188 deleted from session_register by sas | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2215@lists.php.net to get a copy of this message | ||
If what I'm reading here is correct about not being able to modify a variable if it is a
registered session variable, then you are defeating the entire purpose of session variables! Active
Server Pages allows changing the value of session variables throughout the session on any page and
keeps track of the current value. This is the way things should work - because the value of certain
things WILL change throughout your app - like ordertotal as you navigate order pages - it needs to
be updateable. Once I have set a session variable with a value and registered it, I can no longer
change it. This is completely incorrect (and don't tell me it's a security issue, it
isn't) Dell uses ASP and does $6M of business a day, so dynamic session variables are obviously
working for them!