string strPath = this.Page.Request.ServerVariables["PATH_INFO"]; Request.ServerVariables("SCRIPT_NAME")