473,320 Members | 1,961 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Post to another page

How can i do a POST to another page from my ASP.NET page?

Thanks
Nov 19 '05 #1
3 904
Hello,

What exactly you want.

if you want to tranfer the values from page1 to page2 u can use
Server.Transfer

Regards,
--
Niraj Ranka
The will to be successfull is waste, unless u have the will to prepare!!!

"Aurelio" <corcharelliARROBAhotmail.com> wrote in message
news:uI*************@TK2MSFTNGP10.phx.gbl...
How can i do a POST to another page from my ASP.NET page?

Thanks

Nov 19 '05 #2
Yes, i need to transfer the value of a param from page1 (ASP.NET) to page2
(not ASP.NET). The problem is that Server.Transfer(http://www.xxxxxxxx.net)
doesn't work because it needs a virtual url.
"Niraj Ranka" <ni**********@hotmail.com> escribió en el mensaje
news:OR**************@TK2MSFTNGP15.phx.gbl...
Hello,

What exactly you want.

if you want to tranfer the values from page1 to page2 u can use
Server.Transfer

Regards,
--
Niraj Ranka
The will to be successfull is waste, unless u have the will to prepare!!!

"Aurelio" <corcharelliARROBAhotmail.com> wrote in message
news:uI*************@TK2MSFTNGP10.phx.gbl...
How can i do a POST to another page from my ASP.NET page?

Thanks


Nov 19 '05 #3

have you tried Response.Redirect ?... this command will work for non
asp.net page , but doesnt post to the destination page though, but you will
be able to pass query string..

if only posting will work , google for "ASP.NET post to another page".. you
may find some work arounds

"Aurelio" wrote:
Yes, i need to transfer the value of a param from page1 (ASP.NET) to page2
(not ASP.NET). The problem is that Server.Transfer(http://www.xxxxxxxx.net)
doesn't work because it needs a virtual url.
"Niraj Ranka" <ni**********@hotmail.com> escribió en el mensaje
news:OR**************@TK2MSFTNGP15.phx.gbl...
Hello,

What exactly you want.

if you want to tranfer the values from page1 to page2 u can use
Server.Transfer

Regards,
--
Niraj Ranka
The will to be successfull is waste, unless u have the will to prepare!!!

"Aurelio" <corcharelliARROBAhotmail.com> wrote in message
news:uI*************@TK2MSFTNGP10.phx.gbl...
How can i do a POST to another page from my ASP.NET page?

Thanks



Nov 19 '05 #4

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

Similar topics

2
by: luu duong | last post by:
I know this is probably easy but here is the details. I have an asp page that is not inside a frameset. I want to post data to another asp page that is inside a frameset. So firstpage.asp has...
0
by: nik | last post by:
I have a postback on an aspx-page. In this postback I perform a redirect. The page is quite heavy, so instead of performing a postback I perform a post to another empty page, which then can do the...
8
by: Victor | last post by:
I need to redirect to another web page, but that redirect will include the submission of form data. So, unlike ServerXMLHTTP which stays on the originating web page, I need the script to redirect...
7
by: Matt | last post by:
Hi all, Not very sure about this. I have one button (not a submit button) will "post" partial page(form) info to another url(the user will also redirect to this url :-). I dont' want to change...
2
by: Matt | last post by:
When we submit the form data to another page, we usually do the following: <form action="display.aspx" method="post"> will submit the form data and open display.asp in the current browser ...
9
by: Alan Silver | last post by:
Hello, From my limited experience with ASP.NET (couple of weeks so far, much time wasted with stupid book), you can only have one form per page. If so, how do you handle the scenario where you...
10
by: glenn | last post by:
I am use to programming in php and the way session and post vars are past from fields on one page through to the post page automatically where I can get to their values easily to write to a...
12
by: Britney | last post by:
Hi guys, in my default.aspx file, I have following code. when I go to browser, I enter values in both textboxs, then I hit submit Button, however, it didn't go to page2.aspx. instead, it was...
2
by: MOUSTAFA ARAFA | last post by:
I want to pass (POST) username & password from my page to another asp page, I can't do anything on that page, this page for other system, and I can't touch or even change anything on it. Can...
5
by: =?Utf-8?B?QWxleCBNYWdoZW4=?= | last post by:
I am trying to create ASPX code which will allow me to redirect a user to another site with POST data. I figure that the best way to do this is with JavaScript to the client. Here's what I'm doing:...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.