Ask a Question related to ASP.NET General, Design and Development.
-
Matt Osborne #1
Posting data and redirecting
I know this is most likely a very basic question, but I am unsure of the
answer. I have two ASP.Net pages, collect.aspx and process.aspx. I want to
pass the data collected in collect.aspx to process.aspx. I have done this
using response.redirect and adding the form data to the end of the URL (i.e.
process.aspx?FormField=FormData). This would work OK, but I do not want the
user to know what data is being passed. I believe I need to use the POST
method, but I do not know exactly how to go about it. To complicate things
even more, I may need to redirect to different pages based on the input. I
hope that this is understandable and I am sorry if this has been discussed
previously.
Thanks in advance,
Matt Osborne
Matt Osborne Guest
-
Form Data not posting...
Hi, Here is the action script from movie. When I click submit the from data loads I can see it with trace. However when it gets posted to CFpage... -
Posting data mystery
:confused; I've suddenly found that I am unable to post data from Flash forms on one machine. Simple as that. Other machines around it on the same... -
ASP.NET not posting form data
Dear all, We are a library and are trying to get an ASP.NET form page working on our site. the buttons and fields appear, but we are still having... -
Posting data from MySQL?
If you had gone to alt.php.sql first you could have found the answer without posting. There's a standard way of doing things over there which goes... -
posting data from a web form to other one.
Hi, I have a frameset and two aspx page. How can post data from one web form to other one. Thanks -
Matt Osborne #2
Re: Posting data and redirecting
I would like to avoid using the session object if it is possible. I want to
be able to post data to the page so pages not written in ASP.Net can submit
as well.
TIA
Matt Osborne
"Boban Dragojlovic" <news@_N_O_S_P_AM_dragojlovic.org> wrote in message
news:g_cVa.33$qA6.65574956@newssvr13.news.prodigy. com...want>
> Unless there is some reason that you can't do it, you would be better off
> using the Session variable to store such information.
>
> Anything stored in the Session variable is preserved between multiple page
> requests
>
> So, on page 1 (Collect), you put the stuff in
> Session("some_var") = some_var
> Session("another_var") = "bob"
> ...
>
>
> Then, in Process, you get them back
> some_var = Session("some_var")
> ...
>
>
> "Matt Osborne" <private@stupidSpamer.net> wrote in message
> news:HUcVa.1272$CS7.33@newssvr24.news.prodigy.com. ..> > I know this is most likely a very basic question, but I am unsure of the
> > answer. I have two ASP.Net pages, collect.aspx and process.aspx. Ithis> to> > pass the data collected in collect.aspx to process.aspx. I have donePOST> (i.e.> > using response.redirect and adding the form data to the end of the URL> the> > process.aspx?FormField=FormData). This would work OK, but I do not want> > user to know what data is being passed. I believe I need to use thediscussed> things> > method, but I do not know exactly how to go about it. To complicate> I> > even more, I may need to redirect to different pages based on the input.> > hope that this is understandable and I am sorry if this has been>> > previously.
> >
> > Thanks in advance,
> >
> > Matt Osborne
> >
> >
> >
>
Matt Osborne Guest



Reply With Quote

