我如何在网站之间共享变量? [英] How can I share variable between web site ?

查看:50
本文介绍了我如何在网站之间共享变量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

全部,


如何在网站之间共享变量?


我的意思是我有两个网站,但我需要使用相同的变量,我可以怎么做?b $ b?我尝试使用会话或应用程序,但它不起作用。


PS:我使用VB.NET在ASP.NET中编写Web应用程序


感谢您提前。

All,

How can I share variable between web site ?

I mean that I have two web sites but I need to use the same variable, how
can I do ? I try to use session or application but it doesn''t work.

PS: I use VB.NET to write web application in ASP.NET

Thanks for advance.

推荐答案

您不能在网站之间共享变量。但是,您可以在

a URL中传递静态值。


-

谢谢,

Eric Lawrence

项目经理

援助和全球服务


此帖子按原样提供。没有保证,也没有授予任何权利。


" Sara T." < SA **** @ infoquest.co.th>在消息中写道

新闻:Ow ************** @ TK2MSFTNGP10.phx.gbl ...
You can''t share a variable between websites. You can pass a static value in
a URL, however.

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.

"Sara T." <sa****@infoquest.co.th> wrote in message
news:Ow**************@TK2MSFTNGP10.phx.gbl...
全部,
我如何在网站之间共享变量?

我的意思是我有两个网站,但我需要使用相同的变量,我该怎么做?我尝试使用会话或应用程序,但它不起作用。

PS:我使用VB.NET在ASP.NET中编写Web应用程序

感谢您的推进。
All,

How can I share variable between web site ?

I mean that I have two web sites but I need to use the same variable, how
can I do ? I try to use session or application but it doesn''t work.

PS: I use VB.NET to write web application in ASP.NET

Thanks for advance.



我担心这些信息是如此值得我不需要通过URL显示

,因为那可能被别人在另一个窗口使用。


任何想法都表示赞赏。

" Eric Lawrence [MSFT]" < e _ ******** @ hotmail.com>在消息中写道

新闻:#6 ************** @ TK2MSFTNGP10.phx.gbl ...
I afraid that the information is so worthy and I need not to show via URL
because that may be taken to use at another windows by someone.

Any ideas are appreciated.
"Eric Lawrence [MSFT]" <e_********@hotmail.com> wrote in message
news:#6**************@TK2MSFTNGP10.phx.gbl...
你可以'' t在网站之间共享变量。但是,您可以在URL中传递静态值


-
谢谢,

Eric Lawrence
项目经理
援助和全球服务

此帖子按原样提供。没有保证,并且不授予
权利。
Sara T. < SA **** @ infoquest.co.th>在消息中写道
新闻:Ow ************** @ TK2MSFTNGP10.phx.gbl ...
You can''t share a variable between websites. You can pass a static value in a URL, however.

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.
"Sara T." <sa****@infoquest.co.th> wrote in message
news:Ow**************@TK2MSFTNGP10.phx.gbl...
全部,
我如何在网站之间共享变量?

我的意思是我有两个网站,但我需要使用相同的变量,
我该怎么办?我尝试使用会话或应用程序,但它不起作用。

PS:我使用VB.NET在ASP.NET中编写Web应用程序

感谢您的推进。
All,

How can I share variable between web site ?

I mean that I have two web sites but I need to use the same variable, how can I do ? I try to use session or application but it doesn''t work.

PS: I use VB.NET to write web application in ASP.NET

Thanks for advance.




发布一个包含从app1到app2的隐藏变量的表单。与URL相同

解决方案,除了你在浏览器地址栏中看不到它。


Brad Williams

" ; Sara T. < SA **** @ infoquest.co.th>在留言中写道

新闻:e2 ************** @ TK2MSFTNGP09.phx.gbl ...
Post a form which contains a hidden variable from app1 to app2. Same as URL
solution, except you don''t see it in the browser address bar.

Brad Williams
"Sara T." <sa****@infoquest.co.th> wrote in message
news:e2**************@TK2MSFTNGP09.phx.gbl...
我害怕这些信息是如此值得,我不需要通过URL显示
因为可能被某人在另一个窗口使用。

任何想法都表示赞赏。

" ; Eric Lawrence [MSFT]" < e _ ******** @ hotmail.com>在消息中写道
新闻:#6 ************** @ TK2MSFTNGP10.phx.gbl ...
I afraid that the information is so worthy and I need not to show via URL
because that may be taken to use at another windows by someone.

Any ideas are appreciated.
"Eric Lawrence [MSFT]" <e_********@hotmail.com> wrote in message
news:#6**************@TK2MSFTNGP10.phx.gbl...
你不能共享一个变量网站之间。但是,您可以在
You can''t share a variable between websites. You can pass a static value
URL中传递静态
in


-
谢谢,

Eric Lawrence
项目经理
援助和全球服务

此帖子按原样提供。没有保证,也没有赋予
a URL, however.

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no


权利。


Sara T. < SA **** @ infoquest.co.th>在消息中写道
新闻:Ow ************** @ TK2MSFTNGP10.phx.gbl ...

"Sara T." <sa****@infoquest.co.th> wrote in message
news:Ow**************@TK2MSFTNGP10.phx.gbl...
全部,
我如何在网站之间共享变量?

我的意思是我有两个网站,但我需要使用相同的变量,
All,

How can I share variable between web site ?

I mean that I have two web sites but I need to use the same variable,


我该怎么办?做什么?我尝试使用会话或应用程序,但它不起作用。

PS:我使用VB.NET在ASP.NET中编写Web应用程序

感谢您的推进。


how can I do ? I try to use session or application but it doesn''t work.

PS: I use VB.NET to write web application in ASP.NET

Thanks for advance.





这篇关于我如何在网站之间共享变量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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