[Radiant] (no subject)
Mirko Kirović
batamire at yahoo.com
Tue Oct 9 18:23:50 CDT 2007
How can I set a cookie from an extension?
I somehow can't manage to get access to ApplicationController and as soon as I add
request.cookies['lang'] = CGI::Cookie.new('name' => 'lang', 'value' => 'sr')
to 'def activate' in my_extension.rb the whole thing breaks down...
I need to set a cookie based on params[:lang]
Greets
____________________________________________________________________________________
Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more!
http://tv.yahoo.com/collections/3658
More information about the Radiant
mailing list