0

Redirect from Servlet to ZK and Session

asked 2007-09-28 06:08:51 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4541306

By: schnitzelkiller

Hi,

I have a Servlet where my users have to authorise themself and then I want to redirect them to the startpage of my zk-project. Do you have an idea if it is possible to share the session that will be created by my servlet with zk so that I hava access to the data that my servlet stores in the session context?

Thanks,
Schnitzelkiller

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2007-09-28 08:14:12 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4541423

By: sousa1981

Sure, put it on normal session and catch it normally.

Regards,

Marcos de Sousa

link publish delete flag offensive edit

answered 2007-09-28 10:40:33 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4541618

By: jumperchen

Hi Schnitzelkiller,

Please take a look at
- http://www.zkoss.org/javadoc/3.0.0-RC/zk/org/zkoss/zk/ui/Session.html

To use the Sessions.getCurrent() get the current session which wrap the HttpSession.

/Jumper

link publish delete flag offensive edit

answered 2007-10-02 09:15:06 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4547829

By: schnitzelkiller

Thx!!

link publish delete flag offensive edit
Your reply
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

RSS

Stats

Asked: 2007-09-28 06:08:51 +0800

Seen: 270 times

Last updated: Oct 02 '07

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