473,322 Members | 1,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Difference between Server.Tranfer and Response.Redirect?

Hi,

I was wondering, is there a difference between Server.Transfer and
Response.Redirect? They seem to do the same thing. Or am I mistaken?

TIA
** Posted from http://www.teranews.com **
Oct 11 '08 #1
2 1490
Dale:
The basic difference is that Server.Transfer change the
executing page on the server. The new page can reference the older
using the parameter Page.PreviousPage.
The Response.Redirect tells the browser that need to navigate
the new page, and then it make a new request with the URL given by the
server.

Gustavo A. Cantero
CEO - Scientia® Soluciones Informáticas
MCP - MCSD - MCTS
http://www.scientia.com.ar
http://www.programandoamedianoche.com
http://foro.scientia.com.ar

-----Mensaje original-----
De: Dale Harris [mailto:dh*****@mailinator.com]
Expuesto a las: Sábado, 11 de Octubre de 2008 07:03 p.m.
Expuesto en: microsoft.public.dotnet.framework.aspnet
Conversación: Difference between Server.Tranfer and Response.Redirect?
Asunto: Difference between Server.Tranfer and Response.Redirect?

Hi,

I was wondering, is there a difference between Server.Transfer and
Response.Redirect? They seem to do the same thing. Or am I mistaken?

TIA
** Posted from http://www.teranews.com **

Oct 11 '08 #2

http://www.google.com/search?hl=en&q...ponse.redirect
"Dale Harris" <dh*****@mailinator.comwrote in message
news:6c******************@news.teranews.com...
Hi,

I was wondering, is there a difference between Server.Transfer and
Response.Redirect? They seem to do the same thing. Or am I mistaken?

TIA

** Posted from http://www.teranews.com **

Oct 11 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: \A_Michigan_User\ | last post by:
Ok, I give up... why do 1-4 work fine... but 5-6 give "can't find" errors? 1. Client-side VBscript code: call navigate("\\209.11.22.33\MyDir") 2. Client-side VBscript code: location.href...
8
by: gh0st54 | last post by:
Hi I'm trying to post to Paypal to process payment I try a server.tranfer but I get the error : "System.ArgumentException: Invalid path for child request...
1
by: Ryan McLean | last post by:
Hi everyone! What is happening is the method: sub_btnSubmitClicked is being executed every time any other object with a Handler is executed. I am trying not to use the withevents and handles...
3
by: Alan Silver | last post by:
Hello, Sorry if this is a stupid question, but I can't really see much difference between these tow methods according to the scant info in the SDK. Could anyone enlighten me? TIA -- Alan...
4
by: batista | last post by:
Hello All, I want to know the Difference Between Server.Transfer() And Response.Redirect()?
8
by: p3t3r | last post by:
I am using .NET2 and have a number of aspx pages. On each page is a LinkButton that performs a server.transfer() to another page. If we use page names A,B,C,D,E as an example. I start on page A...
9
by: odwrotnie | last post by:
Hi, what is the difference between Response.Redirect("Stop.aspx"); and Server.Transfer("Stop.aspx"); ? -- Best regards,
2
by: JIM.H. | last post by:
I have an asp.net solution and one asp.net and a few asp projects included to this solution. I try to redirect from my asp.net page to asp page with Server.Transfer, I get the following error: ...
9
by: RN1 | last post by:
When a server encounters the line Response.Redirect("abcd.asp") in a ASP script, the server tells the browser that it has to be redirected to another page (which is abcd.asp, in this case)....
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shćllîpôpď 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.