Forum: Radiant CMS Session :off in SiteController

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Steven L. (Guest)
on 2008-11-02 17:56

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?

Steven L. (Guest)
on 2008-11-02 18:02
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.

This topic is locked and can not be replied to.