Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Use session_id in request parameter when :cookie_only => true

#2150

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.

Reported by Rust/OGAWA · March 6th, 2009 @ 05:30 AM

State: stale
Milestone: 3.x
Assigned to: nobody
Importance: none

Activity

  1. Rust/OGAWA
    Rust/OGAWA
    • 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

    March 8th, 2009 @ 02:52 AM

  2. Pratik
    Pratik
    • 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

    March 8th, 2009 @ 02:58 PM

  3. Pratik
    Pratik
    • Assigned user set to josh
    • State changed from new to incomplete

    Patch is missing tests.

    March 8th, 2009 @ 03:17 PM

  4. josh
    josh
    • Assigned user cleared.

    August 19th, 2009 @ 03:45 PM

  5. Jeremy Kemper
    Jeremy Kemper
    • Milestone changed from 2.x to 3.x

    May 4th, 2010 @ 06:48 PM

  6. Jeff Kreeftmeijer
    Jeff Kreeftmeijer
    • Tag cleared.

    Automatic cleanup of spam.

    November 8th, 2010 @ 08:27 AM

  7. Santiago Pastorino
    Santiago Pastorino
    • 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.

    February 9th, 2011 @ 12:31 AM

  8. Santiago Pastorino
    Santiago Pastorino
    • State changed from open to stale

    February 9th, 2011 @ 12:31 AM