0

how can i replace session in java

asked 2014-02-21 12:42:12 +0800

chintan9033 gravatar image chintan9033
1

updated 2014-02-21 13:52:40 +0800

chillworld gravatar image chillworld flag of Belgium
5367 4 9
https://github.com/chillw...

Hi in my project there are use

Session session = Sessions.getCurrent();
session.setAttribute(Constants.USER_PROPERTIES, userCustomProperties);

i need to replace that session with the HttpSession

If any one know then Please Help me.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-02-21 13:55:34 +0800

chillworld gravatar image chillworld flag of Belgium
5367 4 9
https://github.com/chillw...
HttpSession session = (HttpSession)Sessions.getCurrent().getNativeSession();

Greetz chill.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2014-02-21 12:42:12 +0800

Seen: 14 times

Last updated: Feb 21 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More