navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Redirect

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Redirect
Page: [1]
 
hhammash

 

Posts: 1064
Joined: 8/19/2002
Status: offline

 
Redirect - 10/14/2002 16:14:41   
Hi all,

After the user submitts the form, it takes him/her to the confirmation page. On the confirmation page I put code to redirect the paqe. The redirect is working fine, but what I need is the page to pause for sometime so the user can read the submitted information then get redirected to another page.

Best regards
Hisham
Richard Dudley

 

Posts: 668
Joined: 8/22/2002
From: Butler, PA
Status: offline

 
RE: Redirect - 10/14/2002 17:18:07   
You want a REFRESH:

<META HTTP-EQUIV=Refresh CONTENT=" 10; URL=http://www.htmlhelp.com/" > 


More info:
http://www.htmlhelp.com/reference/html40/head/meta.html

(in reply to hhammash)
ASPPlayground

 

Posts: 122
Joined: 6/25/2002
From: Toronto, Canada
Status: offline

 
RE: Redirect - 10/14/2002 20:18:15   
As an ASP programmer, I would suggest that you use this:

<%
Response.AddHeader " REFRESH" , " 10;url=http://www.yourpage.com"
%>

_____________________________

Samuel Chou

ASPPlayground.NET Developer

(in reply to hhammash)
hhammash

 

Posts: 1064
Joined: 8/19/2002
Status: offline

 
RE: Redirect - 10/15/2002 0:15:18   
Hi Samuel and Richard,

So instead of using redirect, I refresh to another page. Good idea, but the question is:

Technically what is the difference between redirect and refresh to another URL?

Thanks a lot
Hisham

(in reply to hhammash)
ASPPlayground

 

Posts: 122
Joined: 6/25/2002
From: Toronto, Canada
Status: offline

 
RE: Redirect - 10/15/2002 2:23:49   
The method Richard suggested is equivalent to my method, the only difference being that the response.addheader (my suggestion) only adds a header and thus is invisible to your users (as it won' t show up in the HTML source). They are the same functionally, as they all tell the browser to wait for a specific amount of time before being redirected.

However, the response.redirect method will send the users directly to the page you specified without the " wait" period. The meta tag equivalent to response.redirect:

<META HTTP-EQUIV=Refresh CONTENT=" 0; URL=http://www.htmlhelp.com/" >

_____________________________

Samuel Chou

ASPPlayground.NET Developer

(in reply to hhammash)
Doug G

 

Posts: 1189
Joined: 12/29/2001
From: SoCal
Status: offline

 
RE: Redirect - 10/15/2002 2:30:12   
Response.redirect: When a client browser requests a page with a response.redirect, the asp code in the page runs up to the redirect. Assuming buffering is on or you haven' t sent any html from your asp page, when the redirect is encountered the web server sends an HTTP 302 Object Moved and the redirect url back to the browser, and this response causes the browser to get the new url.

A meta refresh or header refresh causes the browser to get the new url after some period of time without any other web server intervention.

hth


_____________________________

======
Doug G
======

(in reply to hhammash)
hhammash

 

Posts: 1064
Joined: 8/19/2002
Status: offline

 
RE: Redirect - 10/15/2002 4:41:46   
Hi,

Thank you all for you input.

Regards
Hisham

(in reply to hhammash)
Long Island Lune

 

Posts: 2340
Joined: 6/8/2002
From: New York
Status: offline

 
RE: Redirect - 10/15/2002 22:39:47   
Hisham,

Hi... Just remember to give them enough time to read the message before it' s gone.

Stay cool
LLL



_____________________________


(in reply to hhammash)
hhammash

 

Posts: 1064
Joined: 8/19/2002
Status: offline

 
RE: Redirect - 10/16/2002 2:06:00   
Hi LLL,


quote:

ORIGINAL: hhammash

Hi all,

After the user submitts the form, it takes him/her to the confirmation page. On the confirmation page I put code to redirect the paqe. The redirect is working fine, but what I need is the page to pause for sometime so the user can read the submitted information then get redirected to another page.

Best regards
Hisham



Which message? and where to go? :)

Best regards
Hisham

(in reply to hhammash)
Long Island Lune

 

Posts: 2340
Joined: 6/8/2002
From: New York
Status: offline

 
RE: Redirect - 10/16/2002 12:36:03   
Hi Hisham my friend,

I was incorrect in my last post... It should have read:

" Just remember to give them enough time to read the confirmation info before you redirect them away. "

Actually, doing it this way spooks me. You never know how long it could take a user to read this info before the redirect kicks in. I would place the confirmation info into a popup window. And place a " Done" button at the bottom. Connect the button to a asp redirect. This way you take them where YOU want them to go in " their own time" .

On another website they posted a poll question a long time ago. It asked a question something similar like this:

If presented with a popup window with a close button, how many of you would still use the X button located in the upper right hand corner???

Not one person who answered the poll said they would use the X button.
And I agreed. the X button is one more step of " work" .

So then, the moral of that poll was place a button and they will use it.

Or...

" Build a button, and they will come..."

Super regards,
LLL (Lune)



_____________________________


(in reply to hhammash)
hhammash

 

Posts: 1064
Joined: 8/19/2002
Status: offline

 
RE: Redirect - 10/16/2002 12:50:39   
Hi LLL,

:):):)I thought you want me to give time to the persons who answer my post, I said to myself, well they have all the time they need. :):)

Now, you are completely right. But, in my case no need for the button, I will post only five words.

The record was updated successfully

I will give them 10 seconds then take them back to the DRW where they can see the update.

In other situations I agree with you 100% and put the stamp too. It is very important to think about the user satisfaction more than thinking about dazzeling him/her with automation.

If the user is annoyed he/she will never visit your site again.

Sometimes as a user, when I visit sites that annoy me with popups, buttonless windows to force me to read something ...etc, I never go back again.

Thank you for you input my friend.

Best regards
Hisham

(in reply to hhammash)
Long Island Lune

 

Posts: 2340
Joined: 6/8/2002
From: New York
Status: offline

 
RE: Redirect - 10/16/2002 13:00:54   
Hisham,

Hi...

quote:

Sometimes as a user, when I visit sites that annoy me with popups, buttonless windows to force me to read something ...etc, I never go back again.


You are 100% correct. Me too. :)

Regards,
LLL

_____________________________


(in reply to hhammash)
hhammash

 

Posts: 1064
Joined: 8/19/2002
Status: offline

 
RE: Redirect - 10/16/2002 13:22:42   
Hi LLL,

Thank you,

It was nice to meet you again.

Best regards
Hisham

(in reply to hhammash)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Redirect
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts