This project is archived and is in readonly mode.
Use session_id in request parameter when :cookie_only => true
Reported by Rust/OGAWA | March 6th, 2009 @ 05:30 AM | in 3.x
If ActionController::Base.session = {:cookie_only => false} in environment.rb, I hope to use session_id paramenter of the HTTP request when the browser can handle cookie.
However, if the browser can handle cookie, Rails uses session_id parameter in cookie rather than request parameters. This feature makes the sessions of the mobile disable.
Attached patch accords session_id in request parameter priority over that in cookie.
Comments and changes to this ticket
-
Rust/OGAWA March 8th, 2009 @ 02:52 AM
- Tag set to cookie, patch, request, session
- Title changed from Use session_id in request parameter when :cookie_only => true to [PATCH]Use session_id in request parameter when :cookie_only => true
-
Pratik March 8th, 2009 @ 02:58 PM
- Title changed from [PATCH]Use session_id in request parameter when :cookie_only => true to Use session_id in request parameter when :cookie_only => true
-
Pratik March 8th, 2009 @ 03:17 PM
- Assigned user set to josh
- State changed from new to incomplete
Patch is missing tests.
-
josh August 19th, 2009 @ 03:45 PM
- Assigned user cleared.
-
Santiago Pastorino February 9th, 2011 @ 12:31 AM
- State changed from incomplete to open
This issue has been automatically marked as stale because it has not been commented on for at least three months.
The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.
Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.
-
Santiago Pastorino February 9th, 2011 @ 12:31 AM
- State changed from open to stale
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>