Been stepping though the code to get acquainted with the life cycle of each page and for the life of me, I can't find the point at which a user is authenticated after clicking the "Log in" button. The events that occur after clicking "Log In" are as follows:
That sounds like a great feature for someone who is extremely comfortable and familiar with .NET. I particularly don't like it. It's very hard to troubleshoot, especially in a fast-demand environment in which I work.
abslog
0 Points
3 Posts
Loging in is Magic!!
Jul 06, 2007 06:08 PM|LINK
Been stepping though the code to get acquainted with the life cycle of each page and for the life of me, I can't find the point at which a user is authenticated after clicking the "Log in" button. The events that occur after clicking "Log In" are as follows:
1. Page_Load (TimeTracker/Login.aspx.cs) Page.User.Identiy.IsAuthenticated = false
2. Page_Load (Timetracker/MasterPage.master.cs) Page.User.Identiy.IsAuthenticated = false
3. Page_Load (TimeTracker/TimeEntry.aspx.cs) Page.User.Identiy.IsAuthenticated = true
As you can see, between MasterPage and TimeEntry Page.User.Identity becomes "Authenticated" ..... Any Ideas?
chetan.sarod...
All-Star
65839 Points
11163 Posts
Re: Loging in is Magic!!
Jul 10, 2007 03:35 AM|LINK
In TimeSheet , Membership Classes are used.[ Which is new in .NET 2.0]
So, its one great advantage is you don't need to write the seperate code for authenticate the user.
.Net Framework will take care of that functionality [:)]
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
abslog
0 Points
3 Posts
Re: Loging in is Magic!!
Jul 10, 2007 05:26 AM|LINK
chetan,
thanks for your response.
That sounds like a great feature for someone who is extremely comfortable and familiar with .NET. I particularly don't like it. It's very hard to troubleshoot, especially in a fast-demand environment in which I work.
abslog
chetan.sarod...
All-Star
65839 Points
11163 Posts
Re: Loging in is Magic!!
Jul 11, 2007 03:43 AM|LINK
It is specially for rapid developement (RAD).
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.