in reply to multiple browserwindows session bug

I don't think this behaviour is a problem, but it is inevitable if you use cookies to store the session id. So if you really must avoid this behaviour, pass the session id in urls instead of cookies.

As a start, in your cgiapp_init you would need to avoid sending cookies:

$self->session_config( CGI_SESSION_OPTIONS => [ # whatever ], SEND_COOKIE => 0, # defualt is 1 );
Next you'll have to arrange for all your urls to contain the session id (and you will learn much while contemplating how to do that).

Replies are listed 'Best First'.
Re^2: multiple browserwindows session bug
by boboson (Monk) on Jun 12, 2006 at 12:43 UTC
    That has always been my backup plan for users that don't accept cookies. I use cookies but I also add the sessionID to the URL if the browser doesn't accept cookies.
    Is appending the sessionID alone a prefered way of doing this? If a user accepts cookies, why not use that?