Event called when forms authentication cookie expires

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
I have developed a web site which uses forms authentication for
authenticating users.
The problem is that the site is divided into frames and so whenver
the cookie expires each frame shows login page.
I want that Login page should be shown in the whole page not in
each frame.
Is there any way to do this ? Is there any event which is called whne the
forms authentication cookie expires?

Please help me to solve this problem.

Thanks,
Reshma
 
Hi Reshma
One solution you can do is either set your cookies to never to expire or
set a large time so it would expire soon for example
aCookie.Expires = DateTime.Now.AddDays(1)
Mohamed M .Mahfouz
Developer Support Engineer
ITWorx on behalf of Microsoft EMEA GTSC
 
Hi,

But is there any method that is called when that cookie expires so that
i can handle it.

Thanks,
Reshma
 
Back
Top