Session :off in SiteController


#1

Hi,

I’m having problems with sessions and I noticed that in SiteController
the first line is

session :off

I guess I could read all the code but could somebody tell me why that’s
in there and if it would be safe for me to remove it?

Steve


#2

Let me add the error I was seeing here, so future forum searchers can
find the error and my possible fix.

Here’s what I was seeing:

undefined method `session_id' for {}:Hash

I commented out the “session :off” line in SiteController, and it fixed
my problem.

Steve