redirect - Identify the postback from a ASP.NET Login control -
i have <asp:wizard> applicable logged-out user. if user logged in, he/she redirected page. on 1 of wizard steps, part of wizard, ask credentials via <asp:login> control , log in user. presents problem. according msdn : "when user uses login control log in web site, data in view state , post data lost. not perform actions in loggedin event rely on view state." because of this, wizard control forgets step it's on after login process. msdn recommends : "if embed login control in wizardstep object, explicitly set activestepindex property in page_load event handler if user authenticated. wizard control not automatically advance next wizardstep object in scenario." however, because view state lost, redirect logged-in users kicks in, sending user away page. what's best way determine, @ page load, of states user in? already logged in time ago; needs redirected. was logged in inside wizard; needs reach next wizard step. thanks ideas. ...