the web is full of replies to your question

tl;dr: sessionstorage is only valid in the current tab. to persist accross 
tabs, you need to leverage localstorage.

On Tuesday, June 7, 2016 at 7:08:35 PM UTC+2, Jim S wrote:
>
> I'm not that well-versed in the workings of a browser.  I'm wondering if 
> anyone knows how I could, in my controller, access the 
> window.sessionStorage key/value pairs set in my browser tab.  What I'm 
> trying to do is to be able to pass objects from one web page to another. 
>  This works fine until the user has multiple tabs/windows open and then the 
> values I'm passing are not unique to the window/tab that I'm running on. 
>  I'm wondering if there is a way for me to access the window.sessionStorage 
> because I understand they are unique for each tab/window open in the 
> browser.
>
> Anyone have any experience with this?
>
> -Jim
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to