I have been playing with the Server.Execute and Server.Transfer as well
as server includes.
I know that these are not all the differences, but one of the
differences between Server.Execute and Server.Transfer is that
Server.Execute will include the file into the calling file and the whole
file (Calling file with the included file) will display. In
Server.Transfer, all the first file up to the Server.Transfer and the
whole file that is transfered to will display. In Server.Execute, the
first file is still in control whereas the page that we are transfered
to will be in control. Also, in the Server.Transfer the URL will
display the URL of the first page, including any "GET" form variables.
Is there a way to do what Server.Transfer does, except if we transfer to
another page - all display from the first page is dropped. This might
be for an error, where we decide there is an error and want to transfer
to an error page and not show any of the headers or data of the first page.
Thanks,
Tom. 3 1610
Response.Redirect "somepage.asp"
--
Regards
Steven Burn
Ur I.T. Mate Group www.it-mate.co.uk
Keeping it FREE!
Disclaimer:
I know I'm probably wrong, I just like taking part ;o)
Thomas Scheiderich <tf*@deltanet.com> wrote in message
news:40**************@deltanet.com... I have been playing with the Server.Execute and Server.Transfer as well as server includes.
I know that these are not all the differences, but one of the differences between Server.Execute and Server.Transfer is that Server.Execute will include the file into the calling file and the whole file (Calling file with the included file) will display. In Server.Transfer, all the first file up to the Server.Transfer and the whole file that is transfered to will display. In Server.Execute, the first file is still in control whereas the page that we are transfered to will be in control. Also, in the Server.Transfer the URL will display the URL of the first page, including any "GET" form variables.
Is there a way to do what Server.Transfer does, except if we transfer to another page - all display from the first page is dropped. This might be for an error, where we decide there is an error and want to transfer to an error page and not show any of the headers or data of the first
page. Thanks,
Tom.
Steven Burn wrote: Response.Redirect "somepage.asp"
I knew about that, but in some of the articles I read, they said that
the difference between Response.Redirect and Server.Transfer was that
Response.Redirect involves a round trip to the client for the redirect
to work, where Server.Transfer does it all on the server before it send
the page to the client. Of course, there may not be a Server method
that does a redirect as Response.Redirect does.
Thanks,
Tom. -- Regards
Steven Burn Ur I.T. Mate Group www.it-mate.co.uk
Keeping it FREE!
Disclaimer: I know I'm probably wrong, I just like taking part ;o)
Thomas Scheiderich <tf*@deltanet.com> wrote in message news:40**************@deltanet.com...
I have been playing with the Server.Execute and Server.Transfer as well as server includes.
I know that these are not all the differences, but one of the differences between Server.Execute and Server.Transfer is that Server.Execute will include the file into the calling file and the whole file (Calling file with the included file) will display. In Server.Transfer, all the first file up to the Server.Transfer and the whole file that is transfered to will display. In Server.Execute, the first file is still in control whereas the page that we are transfered to will be in control. Also, in the Server.Transfer the URL will display the URL of the first page, including any "GET" form variables.
Is there a way to do what Server.Transfer does, except if we transfer to another page - all display from the first page is dropped. This might be for an error, where we decide there is an error and want to transfer to an error page and not show any of the headers or data of the first page.
Thanks,
Tom.
Thomas Scheiderich wrote: Steven Burn wrote:
Response.Redirect "somepage.asp"
I knew about that, but in some of the articles I read, they said that the difference between Response.Redirect and Server.Transfer was that Response.Redirect involves a round trip to the client for the redirect to work, where Server.Transfer does it all on the server before it send the page to the client. Of course, there may not be a Server method that does a redirect as Response.Redirect does.
BTW, the other difference I noticed was that the URL is the page you are
redirected to, whereas the URL is the original page that called the
System.Transfer.
Thanks,
Tom.
-- Regards
Steven Burn Ur I.T. Mate Group www.it-mate.co.uk
Keeping it FREE!
Disclaimer: I know I'm probably wrong, I just like taking part ;o)
Thomas Scheiderich <tf*@deltanet.com> wrote in message news:40**************@deltanet.com...
I have been playing with the Server.Execute and Server.Transfer as well as server includes.
I know that these are not all the differences, but one of the differences between Server.Execute and Server.Transfer is that Server.Execute will include the file into the calling file and the whole file (Calling file with the included file) will display. In Server.Transfer, all the first file up to the Server.Transfer and the whole file that is transfered to will display. In Server.Execute, the first file is still in control whereas the page that we are transfered to will be in control. Also, in the Server.Transfer the URL will display the URL of the first page, including any "GET" form variables.
Is there a way to do what Server.Transfer does, except if we transfer to another page - all display from the first page is dropped. This might be for an error, where we decide there is an error and want to transfer to an error page and not show any of the headers or data of the first page.
Thanks,
Tom.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: |
last post by:
I am having a major problem with file transfers - they are ending early when the bandwidth tops-out.
Smaller files transfer just fine, but large files (12Mb+) can 'abort' the transfer after maybe...
|
by: Joe Mowry |
last post by:
First off, I'm posting this question for a friend that doesn't have
access to the news groups.
Problem:
Using PHP as the base and has several PHP < includes > for various
functions, all this...
|
by: Limey Drink |
last post by:
Hi all,
Firstly :-) , is there any where I can search through archived newsgroup
posts so I am not cluttering up the newsgroup with repeated queries ?
And secondly :-), I know this has...
|
by: Patrick |
last post by:
I have an ASP site with about 50 ASP files, all of which are currently
including a common "includes.asp" file near the top of the file, responsible
for generating the <HEAD/> section of the HTML
...
|
by: Ken Allen |
last post by:
Is there no support for FTP transfers/connections in .Net?
-Ken
|
by: Reavil |
last post by:
I have two accounts in which the statements are downloaded from my bank
Transfers are made between the accounts, but when I enter the category as a
transfer it duplicates the entry in the other...
|
by: Slike |
last post by:
Hello,
First of all a very happy 2007 :)
I'm a student with some programming experience, but not too much.
Last year, I wrote a client/server checkers application, that allows
multiple...
|
by: =?Utf-8?B?SkRhdmlkZQ==?= |
last post by:
Hello again! :(
I'm trying to implement asynchronous DnD (and Copy/Paste) in a custom NSE:
despite the lack of documentation, I found that i need my DataObject
implement the optional interface...
|
by: Scott Gifford |
last post by:
As a possible solution to a problem I'm trying to solve with an
iterator (see an earlier post by me with subject "Iterator
implementation questions: copy constructor and postfix increment"),
I'm...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |