473,802 Members | 1,937 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Submit values on redirect

Hello All,
I am using Response.Redire ct to transfer control from one page to
another and in doing so , I transfer values in query string , but now I
don't want the values to be transferred in query string, but instead I want
the values to be submitted to the new page, is there a way to do that in
ASP.net ? The page need to auto submit the values to the next page without
the requirement of any client interaction.

Any suggestions please ?

Thanks a lot.

Imran.
Nov 19 '05 #1
2 1142
Are the to and from pages in the same application? If so, leverage session
or application state variables.

Good luck
CurtW

"Imran Aziz" <im***@tb2.ne t> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
Hello All,
I am using Response.Redire ct to transfer control from one page to
another and in doing so , I transfer values in query string , but now I
don't want the values to be transferred in query string, but instead I
want the values to be submitted to the new page, is there a way to do that
in ASP.net ? The page need to auto submit the values to the next page
without the requirement of any client interaction.

Any suggestions please ?

Thanks a lot.

Imran.

Nov 19 '05 #2
Thanks for your response. No the pages are in different application.How ever
I found a way to get around it by using Response.write to write out
JavaScript to post the page with its hidden variables.
Imran.

"Curt" <cu***@respondt ogroup.com> wrote in message
news:Nf******** *********@newss vr33.news.prodi gy.com...
Are the to and from pages in the same application? If so, leverage
session or application state variables.

Good luck
CurtW

"Imran Aziz" <im***@tb2.ne t> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
Hello All,
I am using Response.Redire ct to transfer control from one page to
another and in doing so , I transfer values in query string , but now I
don't want the values to be transferred in query string, but instead I
want the values to be submitted to the new page, is there a way to do
that in ASP.net ? The page need to auto submit the values to the next
page without the requirement of any client interaction.

Any suggestions please ?

Thanks a lot.

Imran.


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
14165
by: Paul Oakfleet | last post by:
The script below will disable Submit button until user accept terms, and will redirect user to another page after clicking on Submit button. The script seems to work fine on my PC (Windows XP, IE6), however I don't know if it's written well. I would like the opinion of someone who knows how to write these codes properly. Please let me know if there're any logic errors. PS: Please keep in mind that I didn't write this script, I found it
2
73383
by: Terence Parker | last post by:
How does one go about submitting a form with a link - but submitting it to a new window AND to a page different to that described within the action="" option of the <form> tag? Say, for example, I have a simple form such as the following: <form method="POST" action="submit.php" name="AForm"> Name: <input type="text" name="Name" length="20"><br> Age: 15 <a href="age.php">change age</a><br> <input type="submit" name="submit"...
5
5906
by: Codeman II | last post by:
Hi there, I am building a form where the user must upload a picture and fill in his details. Now I have a problem as all of this is on the same form. How will I be able to have the Browse button to open the "file browse" dialog and the Submit button to submit the form data.
3
2260
by: Chung | last post by:
Hi all, I have used the following code for doing the form submission. I don't think this is a right way to submit a from to a new aspx page because I need to add a dummy form in between. Could anyone tell me a proper way to do this? Looking forward to your reply. Thanks!
3
2891
by: Trevor Braun | last post by:
Hi all. I'm really stuck here, and would greatly appreciate any help or suggestions. I'm trying to (from the server side) submit the page that is loading to a new window, then redirect to another form. What I'm trying to do would look like: protected void Page_Load(object sender, EventArgs e) {
13
70008
by: deko | last post by:
I have a basic feedback form with a submit button. After the "send" button is clicked, I want the user to be redirected to a different page that says "Your message has been sent." How do I do this? I've tried using: header("Location:http://www.mysite.com/send-confirm.php");
5
4253
by: superdevo | last post by:
Hey guys, I have a php question. I have a php eccommerce site I am working on and have a particular problem. Currently when a user presses one of my "Add To Kart" buttons it will add a product to the users cart without changing the current URL, which at that point would be something like "http:www.mydomain.com/index.php?mod=product&id_prd=5" I have a shared SSL certificate on my server and want to redirect the user to a secure URL...
1
1043
by: collie | last post by:
Hi I have a page called index.asp that contains a form. When user clicks submit he is taken to details.asp. Details.asp reads the values from the form in index.asp. However, in index.asp i need to check if the session("username") is empty or not. If not empty i want to redirect the user directly to index.asp but to still read the values from the form as the form also contains hidden textboxes with values received from some place else that...
7
15861
by: ChristinaTIT | last post by:
Hi, I have a form containing ID Type Quantity Rate values. it should have two submit buttons which, when posted, will do the two different things in two different scripts.
0
9562
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10538
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10305
jinu1996
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10285
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10063
tracyyun
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5494
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3792
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2966
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.