How to implement session validation?

2009-10-08 Thread Haulyn R. Jason
Hi, I read some articles to find how to use session validation to protect my application. When the Admin Login, some pages are protected by session with attribute admin_id, and when the common user login, some other pages are protected by cookie with attribute user_id. I do not want to add code to

Re: How to implement session validation?

2009-10-08 Thread Adrian Merrall
Haulyn, The wicket in action book has all the explanations and code you need for this. Dealing with cookies is an implementation detail that wicket and the servlet container take care of for you. From your perspective, all you need to worry about is whether the session is authenticated or not,