Plugin info

Total downloads: 1,277
Active installs: 0
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 1/2/2012 (5159 days ago)
Added to WordPress: 12/31/2011 (14 years old)
Minimum WordPress version: 2.5
Tested up to WordPress version: 3.3.2
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 5159 days ago

20/100

Is DP Simple Cache abandoned?

Possibly abandoned (last update 5159 days ago).

Compatibility

Requires WordPress: 2.5
Tested up to: 3.3.2
Requires PHP: f

Developers

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Remember Me Controls
Rating 4.3/5 (7 reviews)Active installs 4,000
WP Session Manager
Rating 4.7/5 (24 reviews)Active installs 2,000
Sessions
Rating 4.8/5 (8 reviews)Active installs 1,000
WP Sessions Time Monitoring Full Automatic
Rating 5.0/5 (7 reviews)Active installs 500
User Session Synchronizer
Rating 4.9/5 (13 reviews)Active installs 100
Integration for Elementor forms – Cookies
Rating 5.0/5 (1 reviews)Active installs 100

Description

D(ifferent)P(lace) Simple Cache is a WordPress plugin to implement a simple cache of objects at session level.

dpwpsimplecache provides a global variable $dpcache, which is an instantiation of the class DP_Cache already set up to talk to the $_SESSION. Always use the global $dpcache variable (Remember to globalize $dpcache before using it in any custom functions).

If you don’t want to track sessions into db set the $USE_DB_SESSION_MANAGER global variable to 0

    global $USE_DB_SESSION_MANAGER;
    $USE_DB_SESSION_MANAGER = 0; // default 1

Insert object;

    $dpcache->set($key,$object);

Get object:

    $object = $dpcache->set($key);

Count active users:

    $count_users = $dpcache->get_sessions_number();

Count objects in the current user’s $_SESSION:

    $dpcache->get_statistics();

Get all objects in the current user’s $_SESSION:

    $dpcache->get_all_values();

Test if an object exist in the current user’s $_SESSION:

    $dpcache->contais($key);

Delete all objects. If the $all parameter is set to false the method delete only the current user’s $_SESSION, if true truncate the entire table (default false):

    $dpcache->flush();

Prints human-readable information about all objects:

    $dpcache->inspect();

Delete an object in the current user’s $_SESSION:

    $dpcache->delete($key);

Delete single session by ID:

    $dpcache->invalidate_single_session($sessid);

Prints the number of active sessions:

    

At any time, through the administrative page, you can:

  • see all objects in the current user cache
  • delete all objects in the current user cache
  • force the deletion of all sessions
  • force the deletion of a single session

You can find the latest release on GitHub

Installation

Copy the folder dpwpsimplecache and its content into your-blog/wp-content/plugins

Frequently Asked Questions

No FAQ at this time.

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

0.1

  • This version is quite stable but it can be used as long as you know what you are doing.

0.2

  • This version add a custom table for session management. It can be used as long as you know what you are doing.

0.3

  • Fixed some minor errors

0.3.1

  • Fixed some minor errors

0.3.2

  • Fixed some minor errors

0.4

  • Single session level management