LoginStatus Control

  • Thread starter Thread starter Jimbo
  • Start date Start date
J

Jimbo

Hi,

I am using a LoginStatus Control in a c# based .aspx page. The page includes
some dynamically created
controls. These are set up automatically, depending on what is in the
Request object.

My page works fine until I click on my logout link. This seems to cause the
OnInit and Page_Load events to occur twice - the first is as I would expect,
but the second has an empty Request object and the result is that I am
unable to create the correct page layout.

Is this normal behaviour for the LoginStatus control? I can't see why these
events are occurring twice.

Many thanks for any help on this,

Jimbo.
 
Hi,

I am using a LoginStatus Control in a c# based .aspx page. The page includes
some dynamically created
controls. These are set up automatically, depending on what is in the
Request object.

My page works fine until I click on my logout link. This seems to cause the
OnInit and Page_Load events to occur twice - the first is as I would expect,
but the second has an empty Request object and the result is that I am
unable to create the correct page layout.

Is this normal behaviour for the LoginStatus control? I can't see why these
events are occurring twice.

You might want to ask this on an aspnet forum, as this one is specific
to C#, and you'll get better answers on an aspnet forum.
 
Back
Top