Wednesday, March 28, 2012

Re: How to get page state

Using MVP places -
I try not to reload the browser window but rather redirect to a new Place + parameters (mypage.html#authreturnpage?x=y&a=b) with the same base URI. The browser takes in the url load as an event within the same application context so you don't loose state. Plus its easy to firewall to prevent url replay attacks.

You may still using the same trick without MVP. Not sure how it manifests within the app.


On Wed, Mar 28, 2012 at 9:19 AM, Deepak Singh <deepaksingh.kr@gmail.com> wrote:

Hi,

At some point of time, i have to reload the window (After login through Gmail authentication), so i want that the page should be loaded in the same state as it was before login.

how can i save the state of the entire page and come back to the same state after login ?

Thanks
Deepak Singh

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



--
-- A. Stevko
===========
"If everything seems under control, you're just not going fast enough." M. Andretti





--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment