Session Management in RCP [message #453540] |
Tue, 01 August 2006 16:56 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03011 seconds