Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Cookies?
Cookies? [message #769319] Wed, 21 December 2011 19:43 Go to next message
jamie  is currently offline jamie Friend
Messages: 6
Registered: July 2009
Junior Member
I have a user login panel that pre-empts my RAP application from loading. When the user closes their browser I'd like to store the user into the browser as a cookie.

Any idea on how to do this?
Re: Cookies? [message #769523 is a reply to message #769319] Thu, 22 December 2011 08:36 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1309
Registered: July 2009
Senior Member


You can either use

RWT.getResponse().addCookie( ... );

to write cookies directly or, even better, use RAP's persistent setting
store, which stores data on the server. It sets a cookie under the hood
to be able to recognize the user:

RWT.getSettingStore().setAttribute( ... );

HTH, Ralf

Ralf Sternberg

Twitter: @EclipseRAP

Professional services for RAP and RCP?
Previous Topic:Cookies?
Next Topic:Deployment Tool Problem
Goto Forum:

Current Time: Sat Oct 10 11:06:15 GMT 2015

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

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