ASP页面如何维护会话? [英] How exactly ASP page maintains session?

查看:63
本文介绍了ASP页面如何维护会话?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述






我有以下情况


页面A.asp呼叫页面B. asp

页面B.asp需要加载页面C.asp进行一些更改并返回

结果给IE


时A.asp首先运行IIS创建会话对象

和B.asp需要将会话cookie(?)传递给C.asp


究竟是多少ASP页面维护会话?

如何使用B将会话从A传递到C



感谢


Hi,

I have the following scenario

Page A.asp call page B.asp
Page B.asp need to load page C.asp make some changes and return
the result to IE

when A.asp is first running IIS create a session object
and B.asp need to pass the session cookie(?) to C.asp

How exactly ASP page maintains sessions?
How can pass the session from A to C using B

Note that b is in a different domain.

thanks

推荐答案

Julia于2004年8月15日在microsoft.public.inetserver.asp.general写道:
Julia wrote on 15 aug 2004 in microsoft.public.inetserver.asp.general:
当A.asp第一次运行IIS时创建会话对象
和B.asp需要将会话cookie(?)传递给C.asp

确切的ASP页面是否维护会话?
如何使用B将会话从A传递给C

请注意,b位于不同的域中。
when A.asp is first running IIS create a session object
and B.asp need to pass the session cookie(?) to C.asp

How exactly ASP page maintains sessions?
How can pass the session from A to C using B

Note that b is in a different domain.




会话cookie是特定于域的。


ASP会话未被传递从一页到另一页。


如果没有找到会话cookie,则会放置一个新会话。


如果此类cookie放置已停用[ clientside = browser],

每一页都是一个新的会话。


-

Evertjan。

荷兰。

(请将x''es更改为我的电子邮件地址中的点数)



The session cookie is domain specific.

ASP-sessions are not "passed" from one page to the other.

If no session cookie is found a new session is placed.

If such cookie placing is deactivated [clientside = browser],
every page is a new session.

--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)


我知道,这就是我的方式问这个问题!!!

i假设会话ID(资源管理器唯一ID?)在HTTP请求中传递

所以我想知道我是否可以使用ISAPI提取它或者其他。

并将其传递到另一页。


感谢


Evertjan。 ; <前************** @ interxnl.net>在留言中写道

news:Xn ******************** @ 194.109.133.29 ...
I know that,that is way I asked the question!!!
i assume the session ID(explorer unique id?) is passed in the HTTP request
so I wonder if I can some how extract it using ISAPI or other.
and thant pass it to the other page.

thanks

"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.29...
Julia写于2004年8月15日的microsoft.public.inetserver.asp.general:
Julia wrote on 15 aug 2004 in microsoft.public.inetserver.asp.general:
当A.asp第一次运行时IIS创建一个会话对象
和B.asp需要将会话cookie(?)传递给C.asp

ASP页面如何维护会话?
如何使用B将会话从A传递到C

注意b在不同的域中。
when A.asp is first running IIS create a session object
and B.asp need to pass the session cookie(?) to C.asp

How exactly ASP page maintains sessions?
How can pass the session from A to C using B

Note that b is in a different domain.



会话cookie是特定于域的。

ASP会话没有被传递。从一个页面到另一个页面。

如果没有找到会话cookie,则会放置一个新会话。

如果此类cookie放置已停用[clientside = browser],每一页都是一个新的会议。

- Evertjan。
荷兰。
(请将我的电子邮件地址中的x'变为点数)



The session cookie is domain specific.

ASP-sessions are not "passed" from one page to the other.

If no session cookie is found a new session is placed.

If such cookie placing is deactivated [clientside = browser],
every page is a new session.

--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)



哈....你怎么说ASP创建一个特殊的cookie代表

会话

将它发送给客户

并且每个请求都将cookie发送到服务器?

(当然cookie是特定于域的)


如果我在页面A中获取此cookie并将其作为参数发送到页面B的

,那该怎么办?


谢谢。

" Julia" <共******** @ 012.net.il>在消息中写道

新闻:%2 **************** @ tk2msftngp13.phx.gbl ...
Ha....what you ment to say that ASP create a special cookie which represent
the session
sent it to the client
and that cookie is sent to the server each request?
(and of course cookie is domain specific)

what if I get this cookie in page A and send it in the URL as a parameter to
page B?

thanks.
"Julia" <co********@012.net.il> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
我知道那就是我问这个问题的方式!!!
我假设会话ID(资源管理器唯一ID?)在HTTP请求中传递
所以我想知道我是否可以使用ISAPI或者如何提取它其他。
并将其传递到另一页。

感谢

Evertjan。 <前************** @ interxnl.net>在消息中写道
新闻:Xn ******************** @ 194.109.133.29 ...
I know that,that is way I asked the question!!!
i assume the session ID(explorer unique id?) is passed in the HTTP request
so I wonder if I can some how extract it using ISAPI or other.
and thant pass it to the other page.

thanks

"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.29...
Julia在15月8日写道2004年在microsoft.public.inetserver.asp.general:
Julia wrote on 15 aug 2004 in microsoft.public.inetserver.asp.general:
当A.asp第一次运行IIS时创建会话对象
和B.asp需要传递会话cookie (?)到C.asp

ASP页面如何维护会话?
如何使用B将会话从A传递给C

请注意,b是在一个不同的域。
when A.asp is first running IIS create a session object
and B.asp need to pass the session cookie(?) to C.asp

How exactly ASP page maintains sessions?
How can pass the session from A to C using B

Note that b is in a different domain.



会话cookie是特定于域的。

ASP会话没有被传递。从一个页面到另一个页面。

如果没有找到会话cookie,则会放置一个新会话。

如果此类cookie放置已停用[clientside = browser],每一页都是一个新的会议。

- Evertjan。
荷兰。
(请将我的电子邮件地址中的x'变为点数)



The session cookie is domain specific.

ASP-sessions are not "passed" from one page to the other.

If no session cookie is found a new session is placed.

If such cookie placing is deactivated [clientside = browser],
every page is a new session.

--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)




这篇关于ASP页面如何维护会话?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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