wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: Wicket Ajax and Session expiry
Date Mon, 03 Sep 2012 14:09:07 GMT
Hi,

On Mon, Sep 3, 2012 at 3:33 PM, Arjun Dhar <dhar_ar@yahoo.com> wrote:
> Hi,
> I have implemented authentication on my  Wicket Pages by them extending a
> Base Class that checks the session.

Where exactly is this check ?

Do you use IAuthorizationStrategy ? Check it. This is what you need.

>
> Those pages also add Panels and Ajax components. Its been really long but I
> have forgotten if how Ajax requests works with sessions.

Yes, Ajax requests are like non-Ajax ones.

>
> Also, I want to intercept it and re-direct it to a custom page; it seems to
> be going to the default landing page of the site. I have not put any code
> for this.
> Does it use some error-page in web.xml to determine the path?
>
> If I have a page that requires no Session and one which requires a session;
> how will it differentiate.
> Currently I cant find the code that makes any Ajax bind to the session so
> where is this magic happening?
>
> I have to go back and debug stuff, help appreciated to shorten this. I think
> there is a some magic ... which is scary when you have to go back a year
> later!
>
> thanks
>
>
>
> -----
> Software documentation is like sex: when it is good, it is very, very good; and when
it is bad, it is still better than nothing!
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Ajax-and-Session-expiry-tp4651715.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Mime
View raw message