ID:               10344
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-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] [EMAIL PROTECTED]

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

Reply via email to