public Method

MemCacheStore.restore

Restore session state from the session’s memcache entry.

Returns the session state as a hash.

Source Code

# File action_controller/session/mem_cache_store.rb, line 69
def restore
  @session_data = @cache[@session_key] || {}
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.