Ticket #6353 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

change cookies structure to support multiple notebook logins at different ports

Reported by: boothby Owned by: boothby
Priority: minor Milestone: sage-4.3.2
Component: notebook Keywords:
Cc: boothby Work issues:
Report Upstream: N/A Reviewers: Mitesh Patel
Authors: Tim Dumol Merged in: sagenb-0.7
Dependencies: Stopgaps:

Description

At present, a user cannot log into two different notebooks at the same address with different ports. For example, if I run two notebooks at

 http://sage.math.washington.edu:8001

and

 http://sage.math.washington.edu:8002

then I can only use one at a time unless I use two separate browsers. A simple change to the cookies should fix this.

Attachments

trac_6353-cookies-diff-ports.patch Download (3.1 KB) - added by timdumol 3 years ago.
Appends port number to the cookie names.

Change History

Changed 3 years ago by timdumol

Appends port number to the cookie names.

comment:1 Changed 3 years ago by timdumol

  • Cc boothby added
  • Status changed from new to needs_review
  • Report Upstream set to N/A

This should do the trick.

comment:2 Changed 3 years ago by mpatel

  • Status changed from needs_review to positive_review
  • Reviewers set to Mitesh Patel
  • Authors set to Tim Dumol

Nice excuse to try out  Firecookie.

comment:3 Changed 3 years ago by mpatel

  • Status changed from positive_review to closed
  • Resolution set to fixed
  • Merged in set to sagenb-0.7
Note: See TracTickets for help on using tickets.