Mark Wilson I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :
03/24/2008
Times viewed :
418
The Server.Transfer Method
Introduction
The Server.Transfer method can be used to send information
from asp page to another asp page. However you can only send ASP built-in
objects and the asp error object from the first page. Any declared variables
are not available in the second page. Application and Session variables are
transferred too. Server.Transfer works similar to Response.Redirect however
Response.Redirect only redirects the user and does not transfer any data. Note
that you can’t use the Server.MapPath method with Server.Transfer.
Example (server_object_transfer_example.asp)
<%
Session("name")
= "Sonu Kapoor"
Response.Write
"I am from page <b>ONE</b> and the value of the session
variable name is: " &