How do I know on which on port the user is running?
I am running my jsp application on both non-SSL and SSL layers. I want to enforce a certain group of users to run on SSL and I want to know on which port the user is running to enforce that. How do I know that? What class, function? Is there any sample program/code available somewhere?
Can't you just get it from their connection?
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL