Hi Rohith,
Please explain how to set implicitly IsAuthenticated true. If you have code please post me.
Thank you
Hi Rohith, I am new for mvc. Please explain how to set implicitly IsAuthenticated true.
405702-Nov-2011
Updated on 18-Nov-2011
Home / DeveloperSection / Forums / Hi Rohith, I am new for mvc. Please explain how to set implicitly IsAuthenticated true.
venkat gosetty
18-Nov-2011how to validate validations whether textbox is empty or not. using linq to sql.
venkat gosetty
10-Nov-2011Chris Anderson
09-Nov-2011Write the below code without if condition and then check whether it displays or not:
Welcome <b><%: ViewData["Name"] %></b>!
venkat gosetty
09-Nov-2011and my .ascx
not display the username and also no error
Chris Anderson
09-Nov-2011ViewBag.UserName="assign user name";
then display it:
how you set set Request.IsAuthenticated to true when you are using database as a medium to store data?
venkat gosetty
09-Nov-2011Hi Rohith,
I want display in master page.
Chris Anderson
08-Nov-2011venkat gosetty
07-Nov-2011Chris Anderson
03-Nov-2011venkat gosetty
03-Nov-2011Model
Controller
Recently i added the FormsAuthentication.SetAuthCookie(model.EmailId, true); Now it is working fine.
Chris Anderson
03-Nov-2011Could you explain me where you have store the user information either in Membership or database.
If you are using Membership to store user information, you can refer demo application provided by mvc in visual studio.
If you are using database, you can build your own logic to authenticate user.
If not able to understand paste your code here...
Thanks.