%@ Language="JavaScript"%> <% Response.Buffer=true %> <% var commingid commingid=parseInt(Math.random()*9999999)// this variable is to store some random number for reference var ref ref=Request.ServerVariables("HTTP_REFERER") var MyPath var MySelf var MyLink var friend MyServer=Request.ServerVariables("SERVER_NAME") MyPath=Request.ServerVariables("SCRIPT_NAME") MyPath="http://"+MyServer+MyPath MySelf=MyPath.substring(0,MyPath.lastIndexOf("/")+1)+"user_login.asp" Session("reference")=MyPath.substring(0,MyPath.lastIndexOf("/")+1)+"index.asp" Session("mem_reference")=MyPath.substring(0,MyPath.lastIndexOf("/")+1)+"index.asp" MyLink=MyPath.substring(0,MyPath.lastIndexOf("/")+1) Session("start")=MySelf+"index.asp" Session("mem_reference")=commingid Session("friend")=""+Request.QueryString("friend") Session("clientid")=""+Request.QueryString("clientid") Session("mailno")=""+Request.QueryString("mailno") Session("main_category")=""+Request.QueryString("main_category") Session("sub_category")=""+Request.QueryString("sub_category") %>