Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
5
Reply
login age catch id through session
aditya immadi
8 years ago
347
Reply
Hai all i wrote this lines for catching id in registration page
then i m getting this eror
int i = v.InsertUserRegistration(user.Name, user.Gender, user.Education, user.MobileNumber, user.EmailId, user.IsActive);
//storing data in session for nexpage
if (i != 0)
{
name = Session["Name"].ToString();---
object referene not set to instance of object
userid = (int)Session["Id"];
Email = Session["EmailId"].ToString();
}
TempData["notice"] = "Successfully registered";
return RedirectToAction("CreatePassword");
}
i need to pass the id to anothe page ... any help
TIA
Post
Reset
Cancel
Answers (
5
)
Next Recommended Forum
Urban Clap Information
how to use multile connection strings in one web.config file