asp.net auto redirect after 5 seconds

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

Guest

hello, how can i redirect the user to another page using code behing.. the
reason being is that i want to redirect them to different site based on the
user login...
i try to avoid client scriprt.. only code behing.. how can this be done?
 
Asha said:
hello, how can i redirect the user to another page using code behing.. the
reason being is that i want to redirect them to different site based on the
user login...
i try to avoid client scriprt.. only code behing.. how can this be done?
You can use the META HTML tag to redirect the user. Below is an example:
<META HTTP-EQUIV="Refresh" CONTENT="5;URL=http://www.monkey.biz/page.aspx">

The content attribute has the following form
"[NumberOfSecondsToWait];[RedirectionUrl]".

Anders Norås
http://dotnetjunkies.com/weblog/anoras/
 
Back
Top