Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add "Remember Me?" checkbox for extended sessions #1103

Open
d6y opened this Issue · 3 comments

4 participants

@d6y
Owner
d6y commented

Users have asked for a way to add a "remember me" checkbox to enable/disable the setting of the ext_id cookie. Mailing list thread: http://groups.google.com/group/liftweb/browse_frm/thread/82b931d4bf43d10a/473332fda485d038?lnk=gst

I'd suggest:

  • the ability to add a checkbox with user specified text (e.g., "remember me on this computer?")
  • ability to default the checkbox to checked or not checked
  • if checked, allow ext session code to work as normal. If not checked, do not set the ext session cookie.
    • presumably this impacts both login screens and registration screens.

If there are code changes, I'd be willing to update the wiki page accordingly.

Additionally, in the UK next year, web sites will need to get permission before setting non-essential cookies, which we believe would include the extended session cookie.

Background:

@dpp dpp was assigned
@Shadowfiend
Owner

Would this be in the ProtoUserExtendedSession stuff, or elsewhere?

@d6y
Owner

Regarding my comment for the EU cookie stuff, I'm fine and don't need any changes.

Regarding the original request from @KenMcDonald, I believe that would be in relation to the ExtendedSessions documentation on the Wiki and is Mapper specific.

Other implementations (such as MongoAuth and MapperAuth) already implement this via isRemember, which might well be enough. Personally, I'm now handling things things more client-side and I don't need changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.