Thanks Anthony, that was what I expected.

What I'm trying to accomplish is to be able to pass variables from page to
page using the session variable in web2py.  This doesn't work if you have
more than one window/tab open in the same browser with each tab open to the
same series of pages.

-Jim

On Tue, Jun 7, 2016 at 3:31 PM, Anthony <[email protected]> wrote:

> Not exactly sure what you're asking. Of course, the server has no direct
> access to anything in the browser unless the browser sends it, so I suppose
> you could make an Ajax request to send whatever data you want to the server.
>
> Anthony
>
>
> On Tuesday, June 7, 2016 at 1:08:35 PM UTC-4, 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 a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/GnnDORlorWs/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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