Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Dancer2 per-window sessions?

by dsheroh (Monsignor)
on Jul 02, 2019 at 08:00 UTC ( #11102292=note: print w/replies, xml ) Need Help??


in reply to Re: Dancer2 per-window sessions?
in thread Dancer2 per-window sessions?

I haven't looked at Dancer 2, but Dancer 1 uses cookie-based sessions, so I feel comfortable assuming that Dancer 2 sessions are also cookie-based.

While your suggestion of using more specific cookie paths is a good one, the OP should be aware that this would provide per-backend-server (or, more precisely, per-document-subtree) sessions, not per-tab sessions. So if, for example, you had two tabs open to bigserver, then those two tabs would still share a single session, even though it would be a separate session than the one in a third tab open to littleserver.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11102292]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2020-10-24 18:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (246 votes). Check out past polls.

    Notices?