Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Wrong Plack session behavior

by Corion (Patriarch)
on Dec 19, 2021 at 11:49 UTC ( [id://11139727]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Wrong Plack session behavior
in thread Wrong Plack session behavior

Aaah - now I realize. You said "all other users get $session->{counter} incremented by 2". So, is it that the first user sees:

1 <reload> 2 <reload> 3

... and the other users see

1 <reload> 3 <reload> 5

?

Then I would look at what requests the browsers send to your server and print out each request, and the session value before and after. Maybe the session value is also incremented for static stuff like CSS or image files? Or for the 404 page that a missing favicon.ico creates?

Replies are listed 'Best First'.
Re^4: Wrong Plack session behavior
by beautyfulman (Sexton) on Dec 19, 2021 at 13:05 UTC

    Log In?
    Username:
    Password:

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

    How do I use this?Last hourOther CB clients
    Other Users?
    Others lurking in the Monastery: (5)
    As of 2024-04-18 03:34 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found