两个服务器之间的页面通话问题 [英] Problem with pages talking between two servers

查看:75
本文介绍了两个服务器之间的页面通话问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有问题。我们在2个单独的服务器上有Web应用程序,需要

才能相互通信。应用程序1需要弹出第二个带有App2的windo,然后选择一个值,然后返回到App1。问题是

,当我们尝试从App2调用App1时,其值为'>
string(page.aspx?id = xxx)我们有无法保持我们的会话变量在

App1(验证我们仍然有相同的用户登录到app1以及

其他变量)。我们已经通过App1循环来解决这个问题,而app2运行了
然后让app2只是写入数据库然后让app1

继续检查db的值,但这并不好。任何想法?

Hi,
I have a problem. We have web applications on 2 seperate servers that need
to talk to each other. App 1 needs to pop open a second windos with App2 in
it where you choose a value and that is returned to App1. The problem is
that when we try to call App1 from App2 with a value say in it''s address
string (page.aspx?id=xxx) we have no way of keeping our session variables in
App1 (To verify we still have the same user logged in to app1 as well as
other variables). We''ve worked around this by App1 looping while app2 is
running and then having app2 just write to a database and then have app1
keep checking the db for the value, but that is not nice. Any ideas?

推荐答案

布伦特,


虽然我不知道这个场景听起来就像你应该只需要通过远程连接到App1来展示App2的功能....


告诉我们更多关于你在尝试什么要做...


干杯,


g

" Brent" < b@b.com>在消息中写道

news:10 ************* @ corp.supernews.com ...
Brent,

Although I''ve no idea of the scenario it sounds like you ought to just
expose the functionality of App2 via remoting to App1....

Tell us a bit more about what you''re trying to do...

cheers,

g
"Brent" <b@b.com> wrote in message
news:10*************@corp.supernews.com...

我有个问题。我们在2个单独的服务器上有Web应用程序,需要相互通信。应用程序1需要在其中弹出第二个带有App2
的windo,您可以在其中选择一个值并返回到App1。问题是,当我们尝试从App2调用App1并在其地址中输入值
字符串(page.aspx?id = xxx)时,我们无法保持会话变量$ App1中的b $ b(验证我们仍然有相同的用户登录到app1以及
其他变量)。我们已经通过App1循环来解决这个问题,同时app2正在运行,然后让app2只是写入数据库,然后让app1继续检查db的值,但这并不好。任何想法?
Hi,
I have a problem. We have web applications on 2 seperate servers that need
to talk to each other. App 1 needs to pop open a second windos with App2 in it where you choose a value and that is returned to App1. The problem is
that when we try to call App1 from App2 with a value say in it''s address
string (page.aspx?id=xxx) we have no way of keeping our session variables in App1 (To verify we still have the same user logged in to app1 as well as
other variables). We''ve worked around this by App1 looping while app2 is
running and then having app2 just write to a database and then have app1
keep checking the db for the value, but that is not nice. Any ideas?



布伦特,


虽然我不知道这个场景听起来你应该只需要通过远程连接到App1来公开App2的功能....


告诉我们更多关于你的内容重新尝试...


欢呼,

g

" Brent" < b@b.com>在消息中写道

news:10 ************* @ corp.supernews.com ...
Brent,

Although I''ve no idea of the scenario it sounds like you ought to just
expose the functionality of App2 via remoting to App1....

Tell us a bit more about what you''re trying to do...

cheers,

g
"Brent" <b@b.com> wrote in message
news:10*************@corp.supernews.com...

我有个问题。我们在2个单独的服务器上有Web应用程序,需要相互通信。应用程序1需要在其中弹出第二个带有App2
的windo,您可以在其中选择一个值并返回到App1。问题是,当我们尝试从App2调用App1并在其地址中输入值
字符串(page.aspx?id = xxx)时,我们无法保持会话变量$ App1中的b $ b(验证我们仍然有相同的用户登录到app1以及
其他变量)。我们已经通过App1循环来解决这个问题,同时app2正在运行,然后让app2只是写入数据库,然后让app1继续检查db的值,但这并不好。任何想法?
Hi,
I have a problem. We have web applications on 2 seperate servers that need
to talk to each other. App 1 needs to pop open a second windos with App2 in it where you choose a value and that is returned to App1. The problem is
that when we try to call App1 from App2 with a value say in it''s address
string (page.aspx?id=xxx) we have no way of keeping our session variables in App1 (To verify we still have the same user logged in to app1 as well as
other variables). We''ve worked around this by App1 looping while app2 is
running and then having app2 just write to a database and then have app1
keep checking the db for the value, but that is not nice. Any ideas?



嗯,我会尝试更好地解释。我需要第二个应用程序完全在另一台服务器上运行

,因为它是一个映射程序,人们将在地图上选择

位置。然后我需要将该位置的值传递回

我的应用程序,而不会丢失它的会话。


Gary Hunt <是******* @ codequest.co.uk>在消息中写道

news:Ob ************** @ TK2MSFTNGP12.phx.gbl ...
Umm, I''ll try to explain better. I need the second app to completely run on
the other server, because it is a mapping program that people will choose
locations on a map. I then need to pass the value of that location back to
my app without it losing it''s session.

"Gary Hunt" <be*******@codequest.co.uk> wrote in message
news:Ob**************@TK2MSFTNGP12.phx.gbl...
布伦特,
虽然我不知道这个场景听起来你应该只是通过远程连接到App1来展示App2的功能....

告诉我们一个更多关于你想做什么...

欢呼,


布伦特 < b@b.com>在消息中写道
新闻:10 ************* @ corp.supernews.com ...
Brent,

Although I''ve no idea of the scenario it sounds like you ought to just
expose the functionality of App2 via remoting to App1....

Tell us a bit more about what you''re trying to do...

cheers,

g
"Brent" <b@b.com> wrote in message
news:10*************@corp.supernews.com...

我有一个问题。我们在两个单独的服务器上有Web应用程序,
需要相互通信。应用1需要在
Hi,
I have a problem. We have web applications on 2 seperate servers that need to talk to each other. App 1 needs to pop open a second windos with App2 in
中用App2弹出第二个windos,在那里你选择一个值并返回到App1。问题是,当我们尝试从App2调用App1并在其地址
字符串(page.aspx?id = xxx)中输入值时,我们无法保持会话
it where you choose a value and that is returned to App1. The problem is
that when we try to call App1 from App2 with a value say in it''s address
string (page.aspx?id=xxx) we have no way of keeping our session


App1中的
变量(验证我们仍然有相同的用户登录到app1以及
其他变量)。我们已经通过App1循环来解决这个问题,同时app2正在运行,然后让app2只是写入数据库,然后让app1继续检查db的值,但这并不好。有什么想法吗?
App1 (To verify we still have the same user logged in to app1 as well as
other variables). We''ve worked around this by App1 looping while app2 is
running and then having app2 just write to a database and then have app1
keep checking the db for the value, but that is not nice. Any ideas?




这篇关于两个服务器之间的页面通话问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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