没有人有解决方案似乎.. [英] No One Has the Solution Seems..

查看:88
本文介绍了没有人有解决方案似乎..的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我发布了一个查询

主题:集成ASP.NET Web项目来共享会话变量


但似乎没人能解决这个问题

非常奇怪......


-

谢谢和问候,


Amit Agarwal

软件程序员(.NET)

解决方案

< blockquote>我认为您不能以规范方式共享会话,但您可以跨子域/文件夹共享

cookie。这可能会做你需要的

。你需要提供更具体的细节,确切地知道你想要完成什么。



" .NET从动" <是************* @ SoftHome.net>在消息中写道

新闻:eC ************** @ TK2MSFTNGP10.phx.gbl ...

hi,
我发布了一个查询
Subj:集成ASP.NET Web项目来共享会话变量

但似乎没人能解决问题
很奇怪...... ...

- 谢谢和问候,

Amit Agarwal
软件程序员(.NET)






我有解决方案

其中有两个ASP.NET Web项目。


i希望在相同的

解决方案中共享两个Web项目之间的会话变量....


任何人....?


实际上我们无法在IIS中的两个应用程序之间共享会话状态

通常。


但是应该有一些方法可以实现这个...我想。



-

谢谢和问候,


Amit Agarwal

软件程序员( .NET)

< jo ***** @ driver.net>在留言中写道

新闻:uJ ************** @ TK2MSFTNGP09.phx.gbl ...

我不认为你可以明确地共享一个会话,但您可以跨子域/文件夹共享一个
cookie。这可能会做你需要的
。您需要提供更具体的详细信息,以确定您正在尝试完成的任务。


.NET Follower <是************* @ SoftHome.net>在消息中写道
新闻:eC ************** @ TK2MSFTNGP10.phx.gbl ...


我发布了一个查询
主题:集成ASP.NET Web项目来共享会话变量

但似乎没有人能解决问题的答案很奇怪......

-
感谢和问候,

Amit Agarwal
软件程序员(.NET)




好吧,因为你仍然无法提供任何你真正想要做的事情的详细信息。我只能建议我之前的建议。

使用cookie来存储唯一的会话标识符。如果这些项目跨越多个域,那么你将不得不为多个域的g />
来验证cookie。您可能还需要进行自己的序列化

和反序列化。没有更具体的信息,虽然它是不可能告诉什么是这种情况的正确解决方案



" .NET Follower" <是************* @ SoftHome.net>写在消息

新闻:uJ ************** @ TK2MSFTNGP12.phx.gbl ...


我有解决方案
其中有两个ASP.NET Web项目。

我想在同一个解决方案中共享两个Web项目之间的会话变量....

任何人......?

实际上我们无法在IIS中的两个应用程序之间共享会话状态

>但是应该有一些方法可以实现这一点...我猜。


-
感谢和问候,

Amit Agarwal < jo ***** @ driver.net>在消息中写道
新闻:uJ ************** @ TK2MSFTNGP09.phx.gbl ...

我不认为你可以特意分享一个会话但您可以跨子域/文件夹共享
cookie。这可能能够做你需要的


来做。您需要提供更具体的详细信息,以确定您正在尝试完成的内容。


.NET Follower <是************* @ SoftHome.net>在消息中写道
新闻:eC ************** @ TK2MSFTNGP10.phx.gbl ...

>
>我发布了一个查询
> Subj:集成ASP.NET Web项目以共享会话变量
>
>但似乎没有人能解决这个问题
>很奇怪......
>
> -
>谢谢和问候,
>
> Amit Agarwal
>软件程序员(.NET)
>
>





hi,
I had posted a query
Subj:Integrating ASP.NET Web Projects to share session variables

But it seems no one has the answer to the problem
very strange......

--
Thanks and Regards,

Amit Agarwal
Software Programmer(.NET)

解决方案

I do not think you can specfically share a Session but you can share a
cookie across subdomains/folders. This might be able to do what you need it
to do. You would need to give more specific details as to exactly what you
are attempting to accomplish.



".NET Follower" <am*************@SoftHome.net> wrote in message
news:eC**************@TK2MSFTNGP10.phx.gbl...

hi,
I had posted a query
Subj:Integrating ASP.NET Web Projects to share session variables

But it seems no one has the answer to the problem
very strange......

--
Thanks and Regards,

Amit Agarwal
Software Programmer(.NET)



Hi,

I have solution
in which there are two ASP.NET Web Projects.

i want to share session variables between the two web projects in the same
solution....

anyone....?

actually we cannot share session state between two application in IIS
normally .

but there should be some methods to accomplih this...i guess.


--
Thanks and Regards,

Amit Agarwal
Software Programmer(.NET)
<jo*****@driver.net> wrote in message
news:uJ**************@TK2MSFTNGP09.phx.gbl...

I do not think you can specfically share a Session but you can share a
cookie across subdomains/folders. This might be able to do what you need it to do. You would need to give more specific details as to exactly what you
are attempting to accomplish.



".NET Follower" <am*************@SoftHome.net> wrote in message
news:eC**************@TK2MSFTNGP10.phx.gbl...

hi,
I had posted a query
Subj:Integrating ASP.NET Web Projects to share session variables

But it seems no one has the answer to the problem
very strange......

--
Thanks and Regards,

Amit Agarwal
Software Programmer(.NET)




Well since you still were unable to give any details to what you "really"
want to do I can only suggest my prior suggestion.
Use A cookie to store a unique session Identifier. If the projects span
multiple domains then you will have to work out authrozing the cookie for
multiple domains. You will also probably need to do your own serialization
and deserialization. Without more specific information though it is
impossible to tell what is really the right solution for this situation


".NET Follower" <am*************@SoftHome.net> wrote in message
news:uJ**************@TK2MSFTNGP12.phx.gbl...

Hi,

I have solution
in which there are two ASP.NET Web Projects.

i want to share session variables between the two web projects in the same
solution....

anyone....?

actually we cannot share session state between two application in IIS
normally .

but there should be some methods to accomplih this...i guess.


--
Thanks and Regards,

Amit Agarwal
Software Programmer(.NET)
<jo*****@driver.net> wrote in message
news:uJ**************@TK2MSFTNGP09.phx.gbl...

I do not think you can specfically share a Session but you can share
a
cookie across subdomains/folders. This might be able to do what you need


it

to do. You would need to give more specific details as to exactly what
you
are attempting to accomplish.



".NET Follower" <am*************@SoftHome.net> wrote in message
news:eC**************@TK2MSFTNGP10.phx.gbl...

> hi,
> I had posted a query
> Subj:Integrating ASP.NET Web Projects to share session variables
>
> But it seems no one has the answer to the problem
> very strange......
>
> --
> Thanks and Regards,
>
> Amit Agarwal
> Software Programmer(.NET)
>
>





这篇关于没有人有解决方案似乎..的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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