In case of further details with session & sql server, go through the following link
http://www.developer.com/db/article.php/3595766 Regards, Velsankar On Jul 14, 3:41 pm, Jay Dan <[email protected]> wrote: > Session["myvar"]="hello";Response.Write(Session["myvar"]); > > Checking if the session variable is set > > if (Session["adminid"] != null) > { > //Your logic > } > > Same way you can store the db value in a variable and can check it with > session stored value. But remember to type cast depending on the value you > are matching with. > > On Tue, Jul 14, 2009 at 2:51 PM, gagandeep sharma > <[email protected]>wrote: > > > how to create a seesion variables in asp.net and how we comapre it with > > the fields of sql server... > > > if any1 know this, then pls help me > > > -- > > GO and LEAD from Whereever You are. > > Think Big and Think Fast. > > -- > Regards > Jay Dan
