namespace testzone
{
public partial class Catelogue : System.Web.UI.Page
{
string sessionID;
protected void Page_Load(object sender, EventArgs e)
{
int exhId = Convert.ToInt16(Request.QueryString["id"]);
if (Session["NewSession"] == null)
{
exhGen pwdGen = new exhGen();
Session["SessionID"] = (string)pwdGen.Generate(14) + "" + (string)pwdGen.Generate(14);
Session["NewSession"] = "old session";
loadDetails();
}
else if (Session["NewSession"] != null)
{
loadDetails();
txtfname.Attributes.Add("onkeyup", "javascript: check_fields();");
txtMobileArea.Attributes.Add("onkeyup", "javascript: check_fields();");
txtCompany.Attributes.Add("onkeyup", "javascript: check_fields();");
Go to the complete details ...