How do I check a users IP address is within an IP range?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Johnny_Miller
Posted On:   Friday, June 21, 2002 03:57 AM

I need to do something on the basis of the IP address a user accessing my app has.


Its on an intranet, and I have been given a range of IP addresses. I need to check that the IP address the user has is with an IP range.


Whats the best way to do this? Any code examples would be really appreciated.


Thanks,


Johnny

Re: How do I check a users IP address is within an IP range?

Posted By:   Christopher_Koenigsberg  
Posted On:   Friday, June 21, 2002 07:00 AM

Check in the request.getHeaders().

About | Sitemap | Contact