Use this Dancer module if you need to maintain independent state variables for each open browser window (as opposed to the more standard state variables for each browser session, i.e. all open browser windows share the same state).
Try it out
Click the "Change Settings" (blue button). Change the plot settings as you wish, click "save settings" to redraw the plot.
Click the "open new browser window" (red button) - a new browser window/tab will be open, with the plot settings back to default.
View the two open browser windows side-by-side (this is the whole point of this module).
Click the "Change settings" (blue button) on either (or both) of the open windows, and change the plot settings.
Each window maintain an independent set of state variables (plot color,type,size).
Only the username variable is shared between the open windows
Click "show template variables" (cyan button) to view Dancer's session and window_session variables
Is this really needed?
If you don't understand why multiple, independent state variables are useful - you probably don't need them for your website. Only some specialized applications might need them.
Most commonly: On bioinformatic-related websites, users want to view the same data in different ways, and compare the views side-by-side.