[jira] [Created] (OFBIZ-10471) setLocaleFromBrowser should only called once by session

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-10471) setLocaleFromBrowser should only called once by session

Nicolas Malin (Jira)
Jacques Le Roux created OFBIZ-10471:
---------------------------------------

             Summary: setLocaleFromBrowser should only called once by session
                 Key: OFBIZ-10471
                 URL: https://issues.apache.org/jira/browse/OFBIZ-10471
             Project: OFBiz
          Issue Type: Improvement
          Components: framework
    Affects Versions: Trunk
            Reporter: Jacques Le Roux
            Assignee: Jacques Le Roux
             Fix For: Upcoming Branch


As Deepak mentioned in r1816537, currenlty setLocaleFromBrowser is called each time a page is refreshed.

We can use [sessionStorage|https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage] to have it called only once by session



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)