Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Professional
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 2nd, 2006, 10:28 PM
Authorized User
 
Join Date: Apr 2006
Posts: 79
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via AIM to anujrathi Send a message via MSN to anujrathi Send a message via Yahoo to anujrathi
Default Redirecting to another page after a specified time

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
 
Old August 3rd, 2006, 12:40 AM
Authorized User
 
Join Date: Oct 2004
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Add following code in your page. This will redirect page after 1 second.

setTimeout(PageRedirect,1000);

function PageRedirect() {
     window.location='the page url';
}



--------------------------------------------------
Software professional from Bangalore,INDIA
[email protected]





Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirecting Page With Alert arnabghosh Classic ASP Professional 0 November 8th, 2007 02:43 AM
Time page execution mat41 Classic ASP Professional 0 August 15th, 2007 01:16 AM
Page Redirecting venkatagiri ASP.NET 2.0 Basics 0 June 22nd, 2006 06:17 AM
refreshing an asp page while redirecting netfresher Classic ASP Basics 0 June 14th, 2006 07:34 AM
Jsp page redirecting itself. allang JSP Basics 2 September 8th, 2005 06:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.