Bug #10344 Updated: in memory container for each machine user
| From: | jimw@php.net | Date: | Sat, 27 Apr 2002 19:15:55 +0000 |
| Subject: | Bug #10344 Updated: in memory container for each machine user | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-6278@lists.php.net to get a copy of this message | ||
ID: 10344
Updated by: jimw@php.net
Reported By: hector@udel.edu
-Status: Open
+Status: Closed
Bug Type: Feature/Change Request
Operating System: any
PHP Version: 4.0.4pl1
New Comment:
there are extensions that provide this sort of functionality. (sysvshm,
at least).
Previous Comments:
------------------------------------------------------------------------
[2001-04-16 09:37:43] hector@udel.edu
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 this bug report at http://bugs.php.net/?id=10344&edit=1