Does it happen if you open one tab in Safari and the other tab in Chrome?


Usually these browsers will use the same cookies (including session cookies) 
for different tabs, this means that opening a new tab is NOT creating a new 
session (aka a new user scope) and you are just interacting with the same set 
of user variables in the different windows. Using different browsers will 
correct your problem.



I was recently having a discussion about the usefulness of a scope that’s more 
persistent than request but less encompassing than user. It’s a concept we’ll 
be exploring in the future. In general, the user scope should be used for 
relatively static session information (like the logged in user’s email address) 
but not information that is more transient or localized.



Robert



From: Mark Weiss [mailto:[email protected]]
Sent: Friday, March 06, 2015 1:32 AM
To: [email protected]
Subject: TeraScript-Talk: Two tabs open



I am running 5.5 on a mac Server.



What I am running into is something that I think I have read about before.



I log into a program I have written in one tab in a safari or Chrome Brower.

Then I create another tab and log in again.



Usually this is to compare information simultaneously.



It appears though that when I do this, user variables get messed up. and wrong 
things begin to load in the second window.



Is this again, some kind of basic problem I am supposed to know about but don’t.



I am NOT using <@userreferenceargument> as I was told by someone that this was 
not a good practice.



Thanks for any advice on this.



Mark Weiss















  _____

To unsubscribe from this list, please send an email to [email protected] 
<mailto:[email protected]>  with "unsubscribe terascript-talk" in the 
body.




----------------------------------------

To unsubscribe from this list, please send an email to [email protected] 
with "unsubscribe terascript-talk" in the body.

Reply via email to