On Wed, May 30, 2012 at 1:41 AM, wicket user <samd...@live.com> wrote: > Hi all, > > I wondering what will be the difference if i use > *((WebRequest)RequestCycle.get().getRequest()).getHeader("User-Agent");* > > or > > *WebSession.get().getClientInfo().getUserAgent();* > > As the client info per session would be same .
The are the same. Just the latter is cached. > and If I need to control this on the WebApplication level , then how to > handle this ? I don't understand your question. > I got some idea about RequestMapper but not sure I am on right track. Peers > can anyone give some valuable suggestions. > > Thanks > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/handling-user-agent-tp4649565.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org