Category Archives: Web

Another Way of Javascript Method Overloading

In John Resig post, he presented a subtle method to support method overloading. It’s very useful when you have method overloading and each method behaves differently. However, it adds overhead by wrap up existing methods inside a new function. For … Continue reading

Posted in javascript, Web | Tagged | Leave a comment

Get the real client IP address, when you use a reverse proxy

Let’s say you are running ASP.NET, PHP, JSP, or Python web. If the code is visited via reverse proxy, then the client IP address is the proxy IP with regular detecting routue. To fix the issue, let’s first take a … Continue reading

Posted in Server, Web | Tagged , | Leave a comment