This problem has been solved but
After log in I am trying to to get the userid and username using Linq, since there is a encryption for password I may not be able to get it.
My code is lilke this, pleae suggest how can I use the code without membership usage.
LinqChatDataContext db = new LinqChatDataContext();
var user = (from u in db.be_Users
where u.Username == Login1.UserName
&& u.Password == Login1.Password
if (user != null)
Session["ChatUserID"] = user.UserID;
Session["ChatUsername"] = Login1.UserName;
Prashanth Kumar Ganathe