on 10-30-2008 8:45 AM
Hello all,
My requirement is to keep some data such as user name and keyword in sessions rather than in Context elements. How can i do this?.
How to implement Sessions in Java WebDynpro?
Expecting the best solution.
Thanks
Vinod V
Hi,
You can make use of following function
WDScopeUtil.put(scopeType, key, value);
WDScopeUtil.get(scopeType, key)
Ex:
WDScopeUtil.put(WDScopeType.CLIENTSESSION_SCOPE, "user", "aaa");
String user = WDScopeUtil.get(WDScopeType.CLIENTSESSION_SCOPE, "user");
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.