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 1 1205
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_*******************@newssvr13.news.prodigy. com... 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" <pr*****@stupidSpamer.net> wrote in message news:HU***************@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. 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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: lozd |
last post by:
Would appreciate any solutions people could offer for this.
Basically I wan't to use a frameset with an aspx page as the contents
rather than a htm page and I'd like to be able to redirect the...
|
by: Water Cooler v2 |
last post by:
That ASP.NET pages post to themselves, how do pages share information
amoung themselves? As in, if my index.aspx has to post data to
nextpage.aspx, how does it happen? Is it left to the developer...
|
by: Ivan Demkovitch |
last post by:
Hi!
I have Portal application which is on http. However I like to do user
authentification using SSL
I like approach most sites use:
They have
<form name="loginForm" action="https://sss"...
|
by: Vijay |
last post by:
Hi,
Based on the session timeout, session will be expired. Timebeing , we are
manually checking in the each page, whether the session is expired or not,
If so,we
are redirecting to common login...
|
by: MDB |
last post by:
This may sound like a naive question, but that's only because I'm naive
about most things ASP.NET, as my background is primarily Lotus Notes
Development, and before that, DOS-based FoxPro.
Is...
|
by: Greg Smalter |
last post by:
Redirecting from page to page within a web project is pretty easy. However,
all Redirect methods take strings as arguments, as if you mistype the string,
you don't find out until run time that you...
|
by: Morpheus |
last post by:
I am trying to test a function that outputs text to the standard
output, presumably using a cout call. I do not have access to the
source, but need to test the output. Is this possible?
I can...
|
by: ShieldsJared |
last post by:
Hello all,
I've been working on an application for a while now and have now come
to a standstill.
I have an application that I intend to have stored on a file server
(developed in C#), which...
|
by: ghr |
last post by:
I'm new to asp.
My requirement is:
getting the user mail id from the system and forward it to a jsp
Now i'm getting the mail id
while redirecting it to jsp i'm using
...
|
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: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |