class

ActionController::CgiRequest

rails latest stable - Superclass: AbstractRequest

Class deprecated or moved

This class is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

No documentation available for this class.

Constants

DEFAULT_SESSION_OPTIONS = { :database_manager => nil, :prefix => "ruby_sess.", :session_path => "/", :session_key => "_session_id", :cookie_only => true, :session_http_only => true

Files

  • actionpack/lib/action_controller/cgi_process.rb

1Note

Getting the client ip

ypetya ยท Jun 23, 2010

From CgiRequest you can get the client ip in controller:

request.remote_ip