Bug #10344: in memory container for each machine user
| From: | hector at udel dot edu | Date: | Mon, 16 Apr 2001 13:37:43 +0000 |
| Subject: | Bug #10344: in memory container for each machine user | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-51697@lists.php.net to get a copy of this message | ||
From: hector@udel.edu
Operating system: any
PHP version: 4.0.4pl1
PHP Bug Type: Feature/Change Request
Bug description: in memory container for each machine user
Perhaps there is already something for this, but it hasn't jumped out at me and no-one on the
coding forum on phpbuilder replied to my thread with anything useful.
What would be nice is for php to have a 'session' of sorts for each UNIX/WINDOWS user who
has php files running on the server. Then each user on the machine can have quick memory access to
frequently used data.
For example, imagine an online election system. The dates people are allowed to vote are
semi-static, they change yearly, but you don't want to monkey with code to change them so they
would probably be in the db. On each page hit, you must verify these dates vs the current date to
allow access. This would involve hitting the db to get the dates on each hit. Having them in
memory would be a significant improvement.
I'd imagine an interface similar to the 'session_*' would be suffice.
--
Edit Bug report at: http://bugs.php.net/?id=10344&edit=1