我在ASP.NET中发现的第一个令人失望的事情 [英] the first disappointing thing I find in ASP.NET

查看:72
本文介绍了我在ASP.NET中发现的第一个令人失望的事情的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法相信,在ASP.NET中,我们无法向另一个应用程序中的另一个webforms发出POST

请求...


我这样说是因为我的上一个问题将POST方法重定向到另一个

应用程序 ,它有两个答案,但没有一个如此简单,如

旧的ASP:


< form name =" form2" method =" post"

action =" http://anotherServer/anotherApp/anotherForm.aspx">

< input name =" user"类型= QUOT;文本" id =" user" />

< input name =" password"类型= QUOT;密码" ID = QUOT;密码" />

< / form>


有什么意见吗?

解决方案

< blockquote>作为这个或任何其他论坛的一般规则,你需要说我使用

1.1"或者我正在使用2.0。


这种情况​​已在Asp.Net 2.0中得到解决。


你使用的是1.1或2.0?


" gustav" < gu ***** @ webserver.com.arwrote in message

news:uW ************* @ TK2MSFTNGP03.phx.gbl ...


我无法相信使用ASP.NET我们无法在另一个应用程序中向另一个webforms发出POST

请求...


我这样说是因为我的上一个问题将POST方法重定向到另一个

应用程序 ,它有两个答案,但没有一个如此简单,如

旧的ASP:


< form name =" form2" method =" post"

action =" http://anotherServer/anotherApp/anotherForm.aspx">

< input name =" user"类型= QUOT;文本" id =" user" />

< input name =" password"类型= QUOT;密码" ID = QUOT;密码" />

< / form>


任何意见?



http://www.codeproject.com/ aspnet / PostToAnotherPage.asp


" gustav" < gu ***** @ webserver.com.arwrote in message

news:uW ************* @ TK2MSFTNGP03.phx.gbl ...


我无法相信使用ASP.NET我们无法在另一个应用程序中向另一个webforms发出POST

请求...


我这样说是因为我的上一个问题将POST方法重定向到另一个

应用程序 ,它有两个答案,但没有一个如此简单,如

旧的ASP:


< form name =" form2" method =" post"

action =" http://anotherServer/anotherApp/anotherForm.aspx">

< input name =" user"类型= QUOT;文本" id =" user" />

< input name =" password"类型= QUOT;密码" ID = QUOT;密码" />

< / form>


任何意见?



PS

我会在返回ASP之前更换职业。


我知道我(就像我们所做的一样)我认为它在1997年很酷,但男人,就像现在用Asp.Net 2.0看着它一样拉动牙齿。


...



" gustav" < gu ***** @ webserver.com.arwrote in message

news:uW ************* @ TK2MSFTNGP03.phx.gbl ...


我无法相信使用ASP.NET我们无法在另一个应用程序中向另一个webforms发出POST

请求...


我这样说是因为我的上一个问题将POST方法重定向到另一个

应用程序 ,它有两个答案,但没有一个如此简单,如

旧的ASP:


< form name =" form2" method =" post"

action =" http://anotherServer/anotherApp/anotherForm.aspx">

< input name =" user"类型= QUOT;文本" id =" user" />

< input name =" password"类型= QUOT;密码" ID = QUOT;密码" />

< / form>


任何意见?



I can′t believe thath with ASP.NET we loose the ability to make POST
requests to another webforms in another application...

I say this because of my last question "Redirect by POST method to another
applications" , which had two answers, but none of them so simple like in
the old ASP:

<form name="form2" method="post"
action="http://anotherServer/anotherApp/anotherForm.aspx">
<input name="user" type="text" id="user"/>
<input name="password" type="password" id="password" />
</form>

Any opinions?

解决方案

As a general rule for this or any other forum, you need to say "I"m using
1.1" or "I''m using 2.0".

This situation has been addressed in Asp.Net 2.0.

Are you using 1.1 or 2.0?


"gustav" <gu*****@webserver.com.arwrote in message
news:uW*************@TK2MSFTNGP03.phx.gbl...

I can′t believe thath with ASP.NET we loose the ability to make POST
requests to another webforms in another application...

I say this because of my last question "Redirect by POST method to another
applications" , which had two answers, but none of them so simple like in
the old ASP:

<form name="form2" method="post"
action="http://anotherServer/anotherApp/anotherForm.aspx">
<input name="user" type="text" id="user"/>
<input name="password" type="password" id="password" />
</form>

Any opinions?



http://www.codeproject.com/aspnet/PostToAnotherPage.asp

"gustav" <gu*****@webserver.com.arwrote in message
news:uW*************@TK2MSFTNGP03.phx.gbl...

I can′t believe thath with ASP.NET we loose the ability to make POST
requests to another webforms in another application...

I say this because of my last question "Redirect by POST method to another
applications" , which had two answers, but none of them so simple like in
the old ASP:

<form name="form2" method="post"
action="http://anotherServer/anotherApp/anotherForm.aspx">
<input name="user" type="text" id="user"/>
<input name="password" type="password" id="password" />
</form>

Any opinions?



PS
I''d change careers before going back to ASP.

I know I (like we all did) thought it was cool in 1997, but man, its like
pulling teeth even looking at it with Asp.Net 2.0 in existence.

...


"gustav" <gu*****@webserver.com.arwrote in message
news:uW*************@TK2MSFTNGP03.phx.gbl...

I can′t believe thath with ASP.NET we loose the ability to make POST
requests to another webforms in another application...

I say this because of my last question "Redirect by POST method to another
applications" , which had two answers, but none of them so simple like in
the old ASP:

<form name="form2" method="post"
action="http://anotherServer/anotherApp/anotherForm.aspx">
<input name="user" type="text" id="user"/>
<input name="password" type="password" id="password" />
</form>

Any opinions?



这篇关于我在ASP.NET中发现的第一个令人失望的事情的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆