php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #10344 in memory container for each machine user
Submitted: 2001-04-16 09:37 UTC Modified: 2002-04-27 15:15 UTC
From: hector at udel dot edu Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.4pl1 OS: any
Private report: No CVE-ID: None
 [2001-04-16 09:37 UTC] hector at udel dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-27 15:15 UTC] jimw@php.net
there are extensions that provide this sort of functionality. (sysvshm, at least).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 11:01:30 2024 UTC