Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » [2.1] How to get IP from client?(HttpSession is not accessable anymore)
[2.1] How to get IP from client? [message #1048564] Wed, 24 April 2013 16:54 Go to next message
Ingo Meyer is currently offline Ingo MeyerFriend
Messages: 162
Registered: July 2009
Senior Member
Hi all,

I'm afraid to be blind, but how the heck can I get the IP of the client???
As you removed the access to the HttpSession I have no chance to get it, do I?

So how can I get the HttpSession now? There must be a way Razz

Thank for the great project,

~Ingo

[Updated on: Wed, 24 April 2013 18:18]

Report message to a moderator

Re: [2.1] How to get IP from client? [message #1048575 is a reply to message #1048564] Wed, 24 April 2013 17:07 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Ingo,
what about RWT.getRequest().getSession() ;-)
Best,
Ivan

On 4/24/2013 7:54 PM, Ingo Meyer wrote:
> Hi all,
>
> I'm afraid to be blind, but how the heck can I get the IP of the
> client???
> As you removed the access to the HttpSession I have no chance to get
> it, do I?
>
> So how can I get the HttpSession now? There must be a way :p
> Thank for the great project,
>
> ~Ingo

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: [2.1] How to get IP from client? [message #1048581 is a reply to message #1048575] Wed, 24 April 2013 17:18 Go to previous message
Ingo Meyer is currently offline Ingo MeyerFriend
Messages: 162
Registered: July 2009
Senior Member
Damn, beginner's mistake...
you know what, I did not imported "javax.servlet.http" in my manifest and so I did not see #getRequest in the content assist. Embarrassed

Oh Oh...

Many thanks Ivan Smile
Previous Topic:WebBrowser control in C# can not display RAP applications due to error
Next Topic:Input validation - decoration / visual feedback - howto
Goto Forum:
  


Current Time: Fri Mar 29 11:24:24 GMT 2024

Powered by FUDForum. Page generated in 0.04567 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top