I was be able to install extension Memcached Driver Beta without failure. :)
Next, I try to create a memcache source and marked it as "Storage"
Then, I set up a sample application. In my Application.cfc:
this.name = "memcacheddemo";
this.applicationTimeout = createTimeSpan(0,2,0,0);
this.sessionManagement = true;
this.sessionTimeout = createTimeSpan(0,0,20,0);
this.sessionStorage="testMemCached";
I then set up a simple page where I store some value into the session scope.
I assumed that session scope should now be saved into memcache, but not sure how to prove that it is correct.
After I stored some value into session scope, I restart my Railo server.
Reopen the page, previous session scope has lost.
According to this article:
http://blog.getrailo.com/post.cfm/railo-3-3-beta-released"... Furthermore, a session can survive a restart of the server, even the "onSessionEnd" is executed after a restart of the server! ..."
So I thought that my session (which was assumed to be saved correctly) should come back with the custom value that I has been previous saved.
Or has I misunderstood something?
Is there a way to check memcache to see if any value was saved.
Peter