Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Session Management in RCP
Session Management in RCP [message #453540] Tue, 01 August 2006 16:56 Go to next message
Eclipse UserFriend
Originally posted by: vedgunjan.yahoo.com

Hi Experts
I'm presently working on a project which has both RCP and the web UI.

This is the flow of the application:
User run the web client,user key-in userId and password and click submit.
at the server-side i check whether userId, password is valid then I put a
token("validUser") in the session object to maintain the session
management.
-----
session.put("validUser",user)
-----

Once the User gets inside, the user can launch the RCP.

My requirment is:
How can I maintain session Management in RCP. i want to have that token in
the RCP also so that when the user fries any server side call from the RCP
i can validate it against the token that i have put in the session.

Please advice me as to wht procedure i should follow.

Waiting with great expectations.

Thanks
Ved
Re: Session Management in RCP [message #453613 is a reply to message #453540] Fri, 04 August 2006 09:13 Go to previous message
Eclipse UserFriend
Originally posted by: dittmar.steiner.web.de

Ved Gunjan schrieb:
> Hi Experts
> I'm presently working on a project which has both RCP and the web UI.
>
> This is the flow of the application:
> User run the web client,user key-in userId and password and click submit.
> at the server-side i check whether userId, password is valid then I put
> a token("validUser") in the session object to maintain the session
> management.
> -----
> session.put("validUser",user)
> -----
>
> Once the User gets inside, the user can launch the RCP.
>
> My requirment is:
> How can I maintain session Management in RCP. i want to have that token
> in the RCP also so that when the user fries any server side call from
> the RCP i can validate it against the token that i have put in the session.
>
> Please advice me as to wht procedure i should follow.
>
> Waiting with great expectations.
>
> Thanks
> Ved
>

This seems more like a HTTP problem.

You could go down to headers, Cookies/URL-rewriting or simply use Apache's *HTTPClient*:
http://jakarta.apache.org/commons/httpclient/

--
Quidquid latine dictum sit, altum sonatur.
- Whatever is said in Latin sounds profound.
Previous Topic:Help doesn't launch after exporting product
Next Topic:problem with dependencies
Goto Forum:
  


Current Time: Thu Oct 10 04:47:42 GMT 2024

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

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

Back to the top