Hi Aussie,
Generally, for share data between web pages, you can use querystring,
session, database ........ However, for ASP.NET 2.0 page, it also provide
some particular features, such as the cross page postback(if you are using
submit/postback to redirect to other page). Or you can use Server.Transfer
to redirect page and use HttpContext.Items collection to store temp data.
Here is a msdn reference mentioend some of them:
#How to: Pass Values Between ASP.NET Web Pages
http://msdn2.microsoft.com/en-us/lib...fw(VS.80).aspx
BTW, do you think the suggestion that use single page with postback from
other members also possible for your case?
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "Aussie Rules" <Au*********@nospam.nospam>
Subject: safest way to pass parameters between pages
Date: Tue, 9 Oct 2007 00:22:22 +0100
>Hi,
I have a few aspx (.net2) form.
The first form allows the user to enter into text box, and select values
from drop downs
The second form needs to use these values to process some data.
I am currently using the url to pass the values such as
'pagename.aspx?parm1=value¶m2=value, and the second form does a
request.headers("parm1")
However this exposes the values in the browser, and I don't want this.
Is there a way to do this where its hidden from the user ?
Thanks