Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Dancer2 per-window sessions?

by afoken (Chancellor)
on Jul 01, 2019 at 17:47 UTC ( [id://11102256]=note: print w/replies, xml ) Need Help??


in reply to Dancer2 per-window sessions?

HTTP knows nothing like windows or tabs, just a user agent. And that's a good thing. Did you know there are several user agents that do NOT run in a windowed environment? I'm thinking of links, lynx, and Arachne. Also, most smartphones don't use windows.

So no, without very tricky hacks on the client side, you won't be able to have per-window sessions.

Perhaps private browsing mode may work, it should isolate the visited website from the other websites.

You could also create several Firefox profiles, and use several Firefox instances in parallel. You may need to add a command line parameter like "-no-remote" or something like that to prevent firefox reusing windows. (Or at least, it worked that way 10 years ago.)

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-26 06:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found