Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Remember Data on page reload
Remember Data on page reload [message #137857] Thu, 25 June 2009 11:24 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

How do I remember informations when the user reloads the page in the
browser.

Say I open my application with an URL like this:
-------8<-------
http://127.0.0.1:55350/rap?startup=bizerbawb&username=bl abla&password=bloblo
-------8<-------

In reality these 2 parameters are passed as post parameters :-) Now my
user wants to switch the language which I implemented by simply
reloading the page and like this:

-------8<-------
parent.window.location.href=' http://127.0.0.1:55350/rap?startup=bizerbawb&language=de _DE'
-------8<-------

Naturally I can't pass the username and password now because of security
reasons. In standard web-applications I'd restore those informations in
the HttpSession and that's what I thought would be possible also.

So I tried:
- RWT.getSession()
- RWT.getSessionStore()
- RWT.getRequest().getSession()

but it looks like those sessions are clear when ever I reload the page.

So I'm a bit stuck now because my standard Servlet-Knowlege doesn't seem
to work.

Tom
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Combo Widget
Next Topic:RowLayout wrapping issue after structural changes
Goto Forum:
  


Current Time: Thu Apr 25 20:39:28 GMT 2024

Powered by FUDForum. Page generated in 0.02638 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top