logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: How to write to shared memory with mod_socache?
Author
chrissmith51



Joined: 28 May 2014
Posts: 7

PostPosted: Wed 28 May '14 10:21    Post subject: How to write to shared memory with mod_socache? Reply with quote

Hi,

I need to be able to read and write values to shared memory in apache. The behaviour I'm looking for is that of a hash table I.e. With key/value pairs. I think I need to use mod_socache_shmcb but I'm not sure how to do this. To be clear - I'm not interested in actual caching of pages, I want to store specific values in memory and read them back.

Could anyone provide an example of this?

Chris
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Wed 28 May '14 11:04    Post subject: Reply with quote

There are no examples yet. But short API examples in C

http://httpd.apache.org/docs/current/socache.html
Back to top


Reply to topic   Topic: How to write to shared memory with mod_socache? View previous topic :: View next topic
Post new topic   Forum Index -> Apache