0

session zk

asked 2014-05-14 16:30:57 +0800

hellozk23 gravatar image hellozk23
1

hello, i have a small problem with session; i have a zul of checking username and password and redirection to main.zul which have to containt a button of Logout to redirect me in the loginpage.zul

i didn't understand how to deal with session. please i need help thankyou

delete flag offensive retag edit

Comments

what exactly is your problem? Your user his credentials are saved into session when you login. => logout will destroy the session.

chillworld ( 2014-05-15 06:59:59 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-07-20 19:37:08 +0800

Darksu gravatar image Darksu
1991 1 4

Hello hellozk23,

Dealing with session in zk is a simple task. For more information please refer to the following link, and focus on the section: "Authentication Service".

http://books.zkoss.org/wiki/ZK_Essentials/Chapter_8 (http://books.zkoss.org/wiki/ZKEssentials/Chapter8):_Authentication

There you can see how a session attribute is set and removed respectively in order to set up the user authentication.

Best Regards,

Darksu

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-05-14 16:30:57 +0800

Seen: 25 times

Last updated: Jul 20 '14

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