Redirecting to another page after a specified time

Discussion in 'ASP .Net Web Controls' started by anujrathi, Aug 3, 2006.

  1. anujrathi

    anujrathi Guest

    Hi experts,


    In my application, i want to redirect the user to a perticuler page.
    As u see in wrox forum login, eg. after login page, user will
    redirected to a welcome page & after some time, automatically
    redirected to his/her default page.
    Same in case of logout, first will go to a page & wiil see a message
    that u are redirecing to login page, & automatically redirected to
    login page.
    How can i do this.

    Thanks & regards,
    Anuj Rathi
    anujrathi, Aug 3, 2006
    #1
    1. Advertising

  2. anujrathi a écrit :
    > In my application, i want to redirect the user to a perticuler page.
    > As u see in wrox forum login, eg. after login page, user will
    > redirected to a welcome page & after some time, automatically
    > redirected to his/her default page.
    > Same in case of logout, first will go to a page & wiil see a message
    > that u are redirecing to login page, & automatically redirected to
    > login page.
    > How can i do this.


    Add this to your html header :

    <META HTTP-EQUIV="Refresh" CONTENT="5; URL=html-redirect.html">

    The "content" parameter is the time in seconds the browser should wait
    before redirecting the user.

    Mathieu Pagé
    Mathieu Pagé, Aug 3, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bill Hauver

    Redirecting after page rendering

    Bill Hauver, Nov 22, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    425
    vMike
    Nov 22, 2003
  2. Ben Fidge

    Redirecting page after 5 seconds?

    Ben Fidge, Aug 8, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    726
    Mark Rae
    Aug 8, 2004
  3. JJ
    Replies:
    2
    Views:
    311
  4. WhiskyRomeo

    redirecting from another page besides the login page

    WhiskyRomeo, Jan 18, 2005, in forum: ASP .Net Security
    Replies:
    1
    Views:
    106
    WhiskyRomeo
    Jan 18, 2005
  5. vasanth kumar
    Replies:
    1
    Views:
    104
    Evertjan.
    Oct 3, 2004
Loading...

Share This Page