Hi Kalpa, I know it's not a good practice, but what about storing the start and end time in session variables?
Thanks. Dilhasha On Thu, Aug 18, 2016 at 5:34 PM, Kalpa Welivitigoda <[email protected]> wrote: > Hi dev, > > I am working on http analytics dashboard, there we have a date time picker > gadget. Once a date time range is selected, the gadget publishes those > information to a topic so that other gadgets in the same page can update > accordingly. > > I have several pages, I am trying to preserve the date time selection from > one page to another. > > The approach I am trying is to update the url parameters (start_time and > end_time) when a date time selection is made. I am using > *window.parent.history.**pushState* for this purpose. This works fine. > But when I navigate to another page, these URL parameters are lost. If I > set the URL parameters and reload the page, they are preserved in the other > pages as well. I am looking for a way to accomplish this without reloading > the page. > > Have we come across a similar requirement before? > > > -- > Best Regards, > > Kalpa Welivitigoda > Senior Software Engineer, WSO2 Inc. http://wso2.com > Email: [email protected] > Mobile: +94776509215 > > [image: http://wso2.com/signature] <http://wso2.com/signature> > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Fathima Dilhasha *Software Engineer* Mobile : +94 (0) 771663314 <%2B94%20%280%29%20773655496> <%2B94%20%280%29%20773%20451194> [email protected] <[email protected]>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
