BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution 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
In the login page a cast is made in the default method to turn the context user into an site identity. This relies on the page_load event in the base class turning the contect.user into a site principle.
It appears that the page_load event in the base class is not triggered until the page_load method of the webform has completed though. I can't see how this can be got round using the base page model.
There seem to be a few posts about this on the forum but no solution that I have been able to make work.