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

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

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:
    532
    vMike
    Nov 22, 2003
  2. Ben Fidge

    Redirecting page after 5 seconds?

    Ben Fidge, Aug 8, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    872
    Mark Rae
    Aug 8, 2004
  3. flamesrock
    Replies:
    8
    Views:
    801
    Hendrik van Rooyen
    Nov 24, 2006
  4. JJ
    Replies:
    2
    Views:
    381
  5. mortb
    Replies:
    3
    Views:
    218
    mortb
    Dec 3, 2004
  6. WhiskyRomeo

    redirecting from another page besides the login page

    WhiskyRomeo, Jan 18, 2005, in forum: ASP .Net Security
    Replies:
    1
    Views:
    242
    WhiskyRomeo
    Jan 18, 2005
  7. vasanth kumar
    Replies:
    1
    Views:
    237
    Evertjan.
    Oct 3, 2004
  8. Katie

    Redirecting to a page after login

    Katie, Aug 4, 2006, in forum: ASP General
    Replies:
    3
    Views:
    202
    Kyle Peterson
    Aug 4, 2006
Loading...