M
Michael D. Jones
Hi all,
I would like to have a delay on a logout page. Here is what I have so far:
logout.aspx
-----------
Page_Load()
FormsAuthentication.SignOut();
Thread.Sleep(5000);
Response.Redirect("homepage.aspx");
What I would like the code to do is, display the logout.aspx page, then wait
5 seconds, then redirect the user to another page.
However, the trouble I'm having is that since I have the delay in the
Page_Load(), the page does not load for 5 seconds, then without displaying,
it redirects to the homepage.aspx.
Any ideas?
Thanks,
Michael
I would like to have a delay on a logout page. Here is what I have so far:
logout.aspx
-----------
Page_Load()
FormsAuthentication.SignOut();
Thread.Sleep(5000);
Response.Redirect("homepage.aspx");
What I would like the code to do is, display the logout.aspx page, then wait
5 seconds, then redirect the user to another page.
However, the trouble I'm having is that since I have the delay in the
Page_Load(), the page does not load for 5 seconds, then without displaying,
it redirects to the homepage.aspx.
Any ideas?
Thanks,
Michael