Using redis and node.js issue: why does redis.get return false?

I could bet get is asynchronous, so you would get the value by callback Edit: It's really asynchronous: file.js.

I could bet get is asynchronous, so you would get the value by callback. Edit: It's really asynchronous: file.js.

Ah nice catch, thanks! – sheldon Jul 16 at 9:43.

I'm running a simple web app backed by node. Js, and I'm trying to use redis to store some key-value pairs. All I do is run "node index.

Js" on the command line, and here's the first few lines of my index. However, all I get for redis_client. Get("hello") instead of "world" is false.

Why is it not returning "world"? What's weird too is that the example code posted here runs fine, and produces the expected output. Is there something I'm doing incorrectly for simple set and get?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions