Cosmin Prund wrote:
>I can use Server.Transfer('FrontPage.aspx') 
>and then, from FrontPage.aspx use some trick and get my parameter from 
>the calling page. That's *strange* and unacceptable because it requires

>the CALLED page to have knowledge about every single CALLING page out
there!

It is not so strange, the called page already has knowledge of the
calling page when using Server.Transfer, your calling page just needs to
be of an expected type as all ASP.NET Web Forms are of the type
System.Web.UI.Page

With ASP.NET you have a few options available to pass data between web
pages
# Via a query string as in Response.Redirct this is the simplest but the
downside is the data is visible
# Using custom properties via the Server.Transfer method - can suit a
well modelled system
# Using the Session or Application state - this is perhaps the best but
can be overkill
 

Michael Darling
Solution Developer
ROOM Solutions Ltd
mailto:[EMAIL PROTECTED]
 
--------------------------------------------------------
Room Solutions Limited is a leading supplier of solutions and services to 
non-life commercial insurance markets. Room Solutions Limited is registered in 
England and Wales with company number 2503575. Its registered office is at 100 
New Bridge Street, London EC4V 6YA, United Kingdom. 

CONFIDENTIALITY NOTICE/DISCLAIMER
This email and any attachments are confidential, protected by 
copyright/intellectual property rights and may be legally privileged. The 
information transmitted is intended only for the person or entity to which it 
is addressed. If you are not the intended recipient, dissemination or copying 
of this email is prohibited.
If you have received this in error, please notify us by forwarding this email 
to the following address: [EMAIL PROTECTED] , and then delete the email 
completely from your system.
This email and any attachments have been scanned for computer viruses by a 
market leading anti-virus system. However, it is the responsibility of the 
recipient to conduct its own security measures. No responsibility is accepted 
by ROOM Solutions Limited for loss or damage arising from the receipt or use of 
this email and any attachments.
No responsibility is accepted by ROOM Solutions Limited for personal emails.
ROOM Solutions Ltd, http://www.roomsolutions.net
--------------------------------------------------------

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
__________________________________________________
Delphi-Talk mailing list -> Delphi-Talk@elists.org
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to