junkie88
By:
junkie88

Session Variables and MemCache

July 22, 2015 532 views
Apache PHP

I have installed memcache on my Redhat Linux machine. However, I am not sure how to start using it with SESSION variables. Originally, my web app was using tons of SESSION variables to store session data but this was slowing down the application. So I decided to install Memcache. However, the problem now is that my SESSION variables are no longer available. I am not sure what changes am I supposed to make to my code to start using Memcache. I read somewhere that I do not have to make any programmatic changes. The SESSION variables will automatically get stored in memcahce. I am not sure if this is the case. Has anyone worked on something similar. Please any help will be greatly appreciated.

Be the first one to answer this question.