# Problem With CGI::Session

**URL:** <https://www.ruby-forum.com/t/problem-with-cgi-session/186152>\
**Category:** Rails\
**Created:** [April 1, 2010, 9:13am UTC](https://www.ruby-forum.com/t/problem-with-cgi-session/186152 "2010-04-01T09:13:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhaval](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/85e7bf/32.png) [@dhaval](https://www.ruby-forum.com/u/dhaval)\
**Post date:** [April 1, 2010, 9:13am UTC](https://www.ruby-forum.com/t/problem-with-cgi-session/186152/1 "2010-04-01T09:13:02Z")

</div>

Hi,  
I installed rails 2.3.5 and ruby 1.8.7 and downloaded the  
rfacebook plugin to create a simple facebook app and then when I ran  
some of the rake tasks I ran into problem like “undefined const  
CGI::Session” and when I googled about it, it said this was a change  
in Rails 2.3 where CGI::Session was changed to  
ActionController::Session. But the rfacebook plugin still uses  
CGI::Session. So what I did was I changed the CGI::Session to  
ActionController::Session but it still gave me the same error. Any  
ideas what can be done? Is there a way to use the old CGI::Session ?
