title: Node.js Express/Connect session hosted on Windows Azure Cache Service (Preview)
body: <p>Has anyone had any luck getting Express/Connect sessions to be hosting on Windows Azure Cache Service (Preview)?</p>
  
  <p>The docs say there's Memcache compatibility through a client shim (<a href="http://msdn.microsoft.com/en-us/library/windowsazure/dn386122" rel="nofollow">http://msdn.microsoft.com/en-us/library/windowsazure/dn386122</a>) or you should be able to "point the application at Windows Azure’s implementation of Memcache, it should continue to work as-is, with no additional application modifications."</p>
  
  <p>I don't see how I would pass my Window Azure Cache Service access keys when setting up the configuration of my Connect/Express session:</p>
  
  <pre><code>var express = require('express');
  var MemcachedStore = require('connect-memcached')(express);
  
  app.use(express.session({
      store: new MemcachedStore({ hosts: process.env.memcachedHost || '127.0.0.1:11211' })
  }));
  </code></pre>