State Management using Cookies.

What are Cookies? Cookies are nothing but a small piece of information that are stored at the client’s browser by the server. This small piece of information about the user is then sent by the browser in all subsequent requests to the same URL in the request. We can store anything in a cookie; General […]

Getting a machine name of logged in user in

Hi, I recently encountered this scenario and thought of blogging about it. To get the machine name of the logged in user, you can use the “GetHostEntry()” method provided in System.Net.Dns class. GetHostEntry takes a string as parameter and it is the hostname or address of the machine whose entry we need to get. So […]