LoginStatus Control

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.
 
A

Andy

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top