0

get zk session in javascript code in the zk page

asked 2014-02-05 17:43:38 +0800

kanchan gravatar image kanchan
1

I want to get the ZK session in onload of ZK page in the java script code. Is it possible. Then How we can achieve this.

delete flag offensive retag edit

Comments

Thank you for clarification.

kanchan ( 2014-02-11 11:25:58 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-02-07 20:19:28 +0800

windeyu gravatar image windeyu flag of United States
288 3

updated 2014-02-07 20:19:49 +0800

If I understand your question correctly, you can't do that. ZK session is a server-side object, and javascript is client-side code. The javascript in the browser environment can't access the object in the backend server's JVM.

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-05 17:43:38 +0800

Seen: 14 times

Last updated: Feb 07 '14

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