![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Mar 2005
Posts: 29
Rep Power: 0
![]() |
I am not clear about Response.Redirect method.Can anybody tell me the significance of
I am not clear about Response.Redirect method.Can anybody tell me the significance of it?
|
|
|
|
|
|
#2 |
|
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4
![]() |
The HTTP protocol has a Redirect header that basically says "Go here. Now". It's another way to forward people to a page, much like meta refresh. However, I believe that a redirect occurs immediately without the possibility of a "You're being redirected" message.
|
|
|
|
|
|
#3 |
|
Programming Guru
![]() |
The redirect in java will push you to the new page, but also continues processing the rest of the java class, might work the same in ASP.
|
|
|
|
|
|
#4 |
|
Programming Guru
![]() |
basically it one argument, a URL. which is sent in the form of a HTTP header ( "Location: {URL}" ) redirecting the browser to that page.
__________________
|
|
|
|
|
|
#5 |
|
Newbie
Join Date: May 2005
Posts: 8
Rep Power: 0
![]() |
if u clicks a url which will open page2.asp and page2.asp contains the folling code
<% Response.Redirect ("Page3.asp") %> then the page3.asp will be diplayed on the brower. |
|
|
|
|
|
#6 |
|
Newbie
Join Date: Jul 2005
Posts: 9
Rep Power: 0
![]() |
note that any code before the redirect line is processed first. its a good way to move a user away from a page that executes code that needs to be done just once, and stops the user refreshing the screen and running the code again.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|