Showing posts with label ASP .net: Server requests. Show all posts
Showing posts with label ASP .net: Server requests. Show all posts

Tuesday, 21 September 2010

ASP .net: Server requests

Windows user:
Request.ServerVariables["AUTH_USER"].ToString()

Current year
<%=HttpContext.Current.Timestamp.Year%>