Can't you override the creation method for the session and in there grab the current request and get the IP address of of it?
On Thu, Jul 24, 2008 at 7:25 PM, Ryan Gravener <[EMAIL PROTECTED]> wrote: > I think (webclientinfo)session.get().getclientinfo()) will have the ip > address somewhere. > > On 7/24/08, Edbay <[EMAIL PROTECTED]> wrote: >> >> I know that the client IP address can be obtained from the raw HttpRequest, >> but only if you are in a WebPage, but is there a way to get to it from the >> session? >> >> Reason I'm asking is upon the creation of a user session, I'd like to be >> able to get the IP address of the user and log it for audit purposes. >> >> >> -- >> View this message in context: >> http://www.nabble.com/Another-question-on-client-IP-address-and-HttpRequest-tp18642444p18642444.html >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > Ryan Gravener > http://twitter.com/ryangravener > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
