lib/utils.js
function(callback){
			var self = this;
			if(!this.id){
				return process.nextTick(function(){
					callback(new Error("Invalid session ID"));
				});
			}

			options.client.get(options.keyspace + self.id, function(error, resp){
				if(error)
					return callback(error);
				try{
					resp = JSON.parse(resp);
				}catch(e){
					return callback(e);
				}
				extendSession(self, resp);
				callback();
			});
		}
function(callback){
			var self = this;
			if(!this.id){
				return process.nextTick(function(){
					callback(new Error("Invalid session ID"));
				});
			}

			options.client.get(options.keyspace + self.id, function(error, resp){
				if(error)
					return callback(error);
				try{
					resp = JSON.parse(resp);
				}catch(e){
					return callback(e);
				}
				extendSession(self, resp);
				callback();
			});
		}
function ( callback ) { var self = this ; if ( ! this . id ) { return process . nextTick ( function ( ) { callback ( new Error ( "Invalid session ID" ) ) ; } ) ; } options . client . get ( options . keyspace + self . id , function ( error , resp ) { if ( error ) return callback ( error ) ; try { resp = JSON . parse ( resp ) ; } catch ( e ) { return callback ( e ) ; } extendSession ( self , resp ) ; callback ( ) ; } ) ; }
reload a session data from redis
reload a session data from redis