how to update context.user without postback ...ing



Hi,
I'm using form authentication in a user control with fires an onSignedOn
event to registered page controls,
so there is no need to postback a second time to reflect changes.

It seems the Context.User.Identity stays a GenericIdentity object even after
calling FormsAuthentication.SetAuthCookie, and there is no method in the
FormsAuthentication class to do that.

Is the source code for FormsAuthentication class available ?
Any workaround without postbacking ?

Thanks.
___________________
http://www.softlion.com/
Web tools and games


.



Relevant Pages

  • Re: Reload user control?
    ... you can consider customize your ascx usercontrol to expose some public ... the postback event will be the proper time you find ... | The thing is that the other user control already has been added when the ... I have a datagrid of products in the shopping ...
    (microsoft.public.dotnet.framework.aspnet)
  • BUG: Asp.Net2 EventValidation + DataGrid + PushButton Error .
    ... I have a user control that be added into page at runtime, ... Invalid postback or callback argument. ... at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) ... includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Reload user control?
    ... you can consider customize your ascx usercontrol to expose some public method which can be called by external users to update its UI view. ... the postback event will be the proper time you find the userControl's reference in the Page and then call that Usercontrol's exposed public method(which will update the usercontrol's UI/Control ... | The thing is that the other user control already has been added when the | other one has parsed its postback... ... I have a datagrid of products in the shopping |>>cart in one user control. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: help with events (im new to this)
    ... user control instances would need to be loaded at the page_load (on postback ... > usercontrol dont fire.How should I instatiate my usercontrol instances so ... > I am currently using the sysntax on the clickevent of a button ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: User Control Disappears After PostBack - Why?
    ... > place it on an ASPX page at runtime using a PlaceHolder - which also has ... FWIW: during the postback the ... > does nothing with respect to the user control or to the PlaceHolder within ... What's the deal with the user control? ...
    (microsoft.public.dotnet.framework.aspnet)