 |
BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
 | This is the forum to discuss the Wrox book Beginning ASP.NET 4.5.1: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-84677-3 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning ASP.NET 4.5.1 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|
|

November 3rd, 2015, 04:24 PM
|
|
Authorized User
|
|
Join Date: Oct 2015
Posts: 58
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
Ch 16, p597 - Login
Hi Imar,
In step 14, you say:
"You are taken to the Login page again where the LoginStatus
control below the Login control now indicates that you are logged
in..."
Following the TIO, my login.aspx shows the same login form, not the "logged in". Until...
I read your source code and the book. I couldn't see from step 1 in the TIO to add and <AnonymousTemplate> or
<LoggedInTemplate> which I copied to my login.aspx. Then, it work!
Greetings.
PS: In the step 2, I had troubles to Install-Package Microsoft.AspNet.Providers, but I solved installing it with VS2015, not VS2013 Update 4. Some people said was the Nuget Version.
|
|

November 3rd, 2015, 05:35 PM
|
|
Authorized User
|
|
Join Date: Oct 2015
Posts: 58
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
Well, actually the steps for making this tags are in the next TIO's on p.602, 607.
I think for the step 14 on p597, I was logged "in memory".
Last edited by StvnSpnz; November 3rd, 2015 at 06:07 PM..
|
|

November 3rd, 2015, 06:39 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
I think you're mixing up controls. Step 14 talks about the LoginStatus control, not the LoginView.
Imar
|
|

November 3rd, 2015, 07:11 PM
|
|
Authorized User
|
|
Join Date: Oct 2015
Posts: 58
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
Well,
At the step 14 what I see is that I log in, it redirects to Default.aspx, but when I go back to the login page, the form is still there, not the "You are already logged in Logout"
What could it be?
Thanks.
|
|

November 3rd, 2015, 07:16 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
It won't say "You are already logged in Logout" as that's only added later. It should just say Login or Logout depending on your status (see Figure 16-6).
Imar
|
|

November 3rd, 2015, 07:24 PM
|
|
Authorized User
|
|
Join Date: Oct 2015
Posts: 58
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
Well, Now I see, but it really is small for seeing at first sight, maybe an arrow or circle for the next edition. My mistake, my sight!
Thanks.
|
|
 |
|