I am setting up a web farm environment and am trying to verify that the MemCached Session Provider is working. I have 2 servers set up and load balanced. I put code on each server to show which server I'm on, so I can test whether session state
carries between the two.
On Server1, I added this in the default.aspx file:
<%Session('test") = "test" %>
On Server2, I added the following:
As long as i hit server1 first, the Session("test") variable should be written out when I hit server2 if the session state is being stored, right?
A couple of questions-
1. That is the correct behavior to expect?
2. How can I verify that this is working and dig into why it doesn't seem to work from server to server? Is there an easy way to find the record in memcached? I can verify that objects exist in memcached by telnetting in, but that does me no
good because we use it for object caching.