AlanDI1
Programmer
- Apr 20, 2003
- 56
Hi -
I am just starting to use ASP.NET 2.0 and am running thru the examples. I am trying "creating a web site with membership and login". I have actually gotten the appropriate tables added to the Northwind sample SQL database and all the configuration stuff in web.config to work. The "ASP.NET configuration" screens seem to work and allow me to add users and define access rules.
I created a default.aspx and login.aspx as described in the walk-thru. The default.aspx has a loginstatus object and a loginview object. The loginview object has two templated, one for "anonymoustemplate" and one for "loggedintemplate".
When I start the site the default page appears and I click the login link. The login.aspx page appears and I login (I am pretty sure the login works because if I type an incorrect password I get an error message).
The login.aspx page has a login task and a validationsummary.
After I click the login button with a correct user and password it returns to the default.aspx page. BUT, it does not seem to realize that I have sucessfully logged in.
What am I missing about making the connection that I have already successfully logged in?
Thanks for your help
I am just starting to use ASP.NET 2.0 and am running thru the examples. I am trying "creating a web site with membership and login". I have actually gotten the appropriate tables added to the Northwind sample SQL database and all the configuration stuff in web.config to work. The "ASP.NET configuration" screens seem to work and allow me to add users and define access rules.
I created a default.aspx and login.aspx as described in the walk-thru. The default.aspx has a loginstatus object and a loginview object. The loginview object has two templated, one for "anonymoustemplate" and one for "loggedintemplate".
When I start the site the default page appears and I click the login link. The login.aspx page appears and I login (I am pretty sure the login works because if I type an incorrect password I get an error message).
The login.aspx page has a login task and a validationsummary.
After I click the login button with a correct user and password it returns to the default.aspx page. BUT, it does not seem to realize that I have sucessfully logged in.
What am I missing about making the connection that I have already successfully logged in?
Thanks for your help