结束会议 [英] Ending Session

查看:127
本文介绍了结束会议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试结束网站的会话,而不必完全关闭浏览器以结束它。


当我访问网站时登录它工作正常。如果我在没有关闭浏览器的情况下退出并使用

不同的帐户,我会收到第一个会话的

信息。此外,如果打开另一个浏览器并使用不同的

帐户登录,我将从第一个浏览器获取会话。我已经尝试删除所有

cookie和任何缓存页面,但仍然获得相同的第一个会话。


我在.NET中创建了一个Windows应用程序添加了一个浏览器(来自VB6的控件),如果我在应用程序内部设置了多个浏览器控件实例
,那么

会出现同样的问题,但我可以在里面有不同的会话.NET Windows应用程序比我在IE浏览器中使用的
。他们似乎没有交叉。


如果会话不在cookie或缓存页面中,会话如何保持?

我打开一个新的浏览器并从头开始登录,因此URL中的会话不能是
,或者是隐藏文本字段?


我想我一定会错过关于如何存储会话的内容?


任何帮助都将不胜感激,如果这是一个不好的话,我很抱歉

不合适小组发布到。


-Darrin

I am trying to end a session for a site without having to completely close
the browser to end it.

When I access the site and log in it works fine. If I log out and in with a
different account without closing the browser, I get the first session''s
information. Also, if a open another browser and log in with a different
account I get the session from the first browser. I''ve tried deleting all
cookies and any cached pages, but still get the same first session.

I created a windows app in .NET and added a browser (control from VB6), and
have the same problems if I make multiple instances of the browser control
inside the app, but I CAN have different session inside the .NET windows app
than what I have in the IE browsers. They don''t seem to cross.

How is the session being held if it is not in a cookie or in a cached page?
I open a new browser and log in from the beginning, so the session can''t be
in the URL, or in a hidden text field??

I think I must be missing something on how the sessions are stored??

Any help would be greatly appreciated, and I apologize if this is an
inappropriate group to post to.

-Darrin

推荐答案

在ASP页面调用:


Session.Abandon


cookie可能不在您认为的位置或隐藏在您身边

因为cookies *是* ASP如何处理会话。


克里斯。


" Darrin J Olson" <哒************ @ sio.midco.net>在消息中写道

新闻:vp ************ @ corp.supernews.com ...

我想结束会话一个网站,而不必完全关闭

浏览器结束它。


当我访问该网站并登录它工作正常。如果我在没有关闭浏览器的情况下退出并使用

不同的帐户,我会收到第一个会话的

信息。此外,如果打开另一个浏览器并使用不同的

帐户登录,我将从第一个浏览器获取会话。我已经尝试删除所有

cookie和任何缓存页面,但仍然获得相同的第一个会话。


我在.NET中创建了一个Windows应用程序添加了一个浏览器(来自VB6的控件),如果我在应用程序内部设置了多个浏览器控件实例
,那么

会出现同样的问题,但我可以在里面有不同的会话.NET Windows应用程序比我在IE浏览器中使用的
。他们似乎没有交叉。


如果会话不在cookie或缓存页面中,会话如何保持?

我打开一个新的浏览器并从头开始登录,因此URL中的会话不能是
,或者是隐藏文本字段?


我想我一定会错过关于如何存储会话的内容?


任何帮助都将不胜感激,如果这是一个不好的话,我很抱歉

不合适小组发布到。


-Darrin

In an ASP page call:

Session.Abandon

The cookie is probably not where you thought it was or is hidden from you
since cookies *are* how ASP handles sessions.

Chris.

"Darrin J Olson" <da************@sio.midco.net> wrote in message
news:vp************@corp.supernews.com...
I am trying to end a session for a site without having to completely close
the browser to end it.

When I access the site and log in it works fine. If I log out and in with a
different account without closing the browser, I get the first session''s
information. Also, if a open another browser and log in with a different
account I get the session from the first browser. I''ve tried deleting all
cookies and any cached pages, but still get the same first session.

I created a windows app in .NET and added a browser (control from VB6), and
have the same problems if I make multiple instances of the browser control
inside the app, but I CAN have different session inside the .NET windows app
than what I have in the IE browsers. They don''t seem to cross.

How is the session being held if it is not in a cookie or in a cached page?
I open a new browser and log in from the beginning, so the session can''t be
in the URL, or in a hidden text field??

I think I must be missing something on how the sessions are stored??

Any help would be greatly appreciated, and I apologize if this is an
inappropriate group to post to.

-Darrin


Chris,


非常感谢您的回复。


不幸的是,这不是我正在访问的页面。我正在为一家

公司编写一个应用程序,该公司希望从其他网站上删除页面上的数据

网站以减少他们的数据输入。一切正常,但我需要

关闭浏览器(或任何进程持有浏览器)以摆脱

会话。如果我使用IE工具 - >互联网选项删除cookie和临时

文件,或者自己删除它们会话仍然存在?



克里斯巴伯 < CH *** @蓝canoe.co.uk.NOSPAM>在消息中写道

新闻:Oy ************** @ tk2msftngp13.phx.gbl ...
Chris,

Thank you very much for your response.

Unfortunately, it''s not my page that I''m accessing. I''m writing an app for a
company that wants to ''scrape'' the data off of the page from some other web
site to cut down on their data entry. Everything works fine, but I need to
close the browser (or whatever process holds the browser) to get rid of the
session. If I use IE Tools->Internet Options to delete cookies and temporary
files, or delete them myself the session persists??


"Chris Barber" <ch***@blue-canoe.co.uk.NOSPAM> wrote in message
news:Oy**************@tk2msftngp13.phx.gbl...
在ASP页面调用中:

Session.Abandon

这个cookie可能不是你想象的那样或者对你隐藏
因为cookies *是ASP如何处理会话。<克里斯。

Darrin J Olson <哒************ @ sio.midco.net>在消息中写道
新闻:vp ************ @ corp.supernews.com ...
我试图结束网站的会话而不必完全关闭
浏览器结束它。

当我访问该网站并登录它工作正常。如果我在不关闭浏览器的情况下使用
注销另一个帐户,我会收到第一个会话的信息。此外,如果打开另一个浏览器并使用不同的帐户登录,我将从第一个浏览器获取会话。我已经尝试删除所有
cookie和任何缓存页面,但仍然可以获得相同的第一个会话。

我在.NET中创建了一个Windows应用程序并添加了一个浏览器(来自VB6的控件) ,
并且如果我在应用程序内部制作浏览器控件的多个实例,则会遇到同样的问题,但我可以在.NET windows
应用程序内部使用不同于IE中的会话浏览器。他们似乎没有交叉。

如果会话不在cookie或缓存的
页面中,会话如何被保留?我打开一个新的浏览器并从头开始登录,因此会话不能在URL或隐藏文本字段中显示?

我想我一定不能错过关于如何存储会话的内容??

任何帮助将不胜感激,如果这是一个不适合发布的组织,我会道歉。

- Darrin
In an ASP page call:

Session.Abandon

The cookie is probably not where you thought it was or is hidden from you
since cookies *are* how ASP handles sessions.

Chris.

"Darrin J Olson" <da************@sio.midco.net> wrote in message
news:vp************@corp.supernews.com...
I am trying to end a session for a site without having to completely close
the browser to end it.

When I access the site and log in it works fine. If I log out and in with a different account without closing the browser, I get the first session''s
information. Also, if a open another browser and log in with a different
account I get the session from the first browser. I''ve tried deleting all
cookies and any cached pages, but still get the same first session.

I created a windows app in .NET and added a browser (control from VB6), and have the same problems if I make multiple instances of the browser control
inside the app, but I CAN have different session inside the .NET windows app than what I have in the IE browsers. They don''t seem to cross.

How is the session being held if it is not in a cookie or in a cached page? I open a new browser and log in from the beginning, so the session can''t be in the URL, or in a hidden text field??

I think I must be missing something on how the sessions are stored??

Any help would be greatly appreciated, and I apologize if this is an
inappropriate group to post to.

-Darrin



啊,你的意思是你想要从

客户端结束远程网络服务器的会话?

http:// www .asp101.com / articles / john / ... nd / default.asp


据我所知,除非你能告知远程

想要结束会话的网络服务器。


克里斯。


" Darrin J Olson" <哒************ @ sio.midco.net>在消息中写道

news:vp ************ @ corp.supernews.com ...

Chris,


非常感谢您的回复。


不幸的是,这不是我正在访问的页面。我正在为一家

公司编写一个应用程序,该公司希望从其他网站上删除页面上的数据

网站以减少他们的数据输入。一切正常,但我需要

关闭浏览器(或任何进程持有浏览器)以摆脱

会话。如果我使用IE工具 - >互联网选项删除cookie和临时

文件,或者自己删除它们会话仍然存在?



克里斯巴伯 < CH *** @蓝canoe.co.uk.NOSPAM>在消息中写道

新闻:Oy ************** @ tk2msftngp13.phx.gbl ...
Ahh, you mean you want to end the session for the remote webserver from the
client side?

http://www.asp101.com/articles/john/...nd/default.asp

As far as I know, it''s not possible unless you can inform the remote
webserver that you want to end the session.

Chris.

"Darrin J Olson" <da************@sio.midco.net> wrote in message
news:vp************@corp.supernews.com...
Chris,

Thank you very much for your response.

Unfortunately, it''s not my page that I''m accessing. I''m writing an app for a
company that wants to ''scrape'' the data off of the page from some other web
site to cut down on their data entry. Everything works fine, but I need to
close the browser (or whatever process holds the browser) to get rid of the
session. If I use IE Tools->Internet Options to delete cookies and temporary
files, or delete them myself the session persists??


"Chris Barber" <ch***@blue-canoe.co.uk.NOSPAM> wrote in message
news:Oy**************@tk2msftngp13.phx.gbl...
在ASP页面调用中:

Session.Abandon

这个cookie可能不是你想象的那样或者对你隐藏
因为cookies *是ASP如何处理会话。<克里斯。

Darrin J Olson <哒************ @ sio.midco.net>在消息中写道
新闻:vp ************ @ corp.supernews.com ...
我试图结束网站的会话而不必完全关闭
浏览器结束它。

当我访问该网站并登录它工作正常。如果我在不关闭浏览器的情况下使用
注销另一个帐户,我会收到第一个会话的信息。此外,如果打开另一个浏览器并使用不同的帐户登录,我将从第一个浏览器获取会话。我已经尝试删除所有
cookie和任何缓存页面,但仍然可以获得相同的第一个会话。

我在.NET中创建了一个Windows应用程序并添加了一个浏览器(来自VB6的控件) ,
并且如果我在应用程序内部制作浏览器控件的多个实例,则会遇到同样的问题,但我可以在.NET windows
应用程序内部使用不同于IE中的会话浏览器。他们似乎没有交叉。

如果会话不在cookie或缓存的
页面中,会话如何被保留?我打开一个新的浏览器并从头开始登录,因此会话不能在URL或隐藏文本字段中显示?

我想我一定不能错过关于如何存储会话的内容??

任何帮助将不胜感激,如果这是一个不适合发布的组织,我会道歉。

- Darrin
In an ASP page call:

Session.Abandon

The cookie is probably not where you thought it was or is hidden from you
since cookies *are* how ASP handles sessions.

Chris.

"Darrin J Olson" <da************@sio.midco.net> wrote in message
news:vp************@corp.supernews.com...
I am trying to end a session for a site without having to completely close
the browser to end it.

When I access the site and log in it works fine. If I log out and in with a different account without closing the browser, I get the first session''s
information. Also, if a open another browser and log in with a different
account I get the session from the first browser. I''ve tried deleting all
cookies and any cached pages, but still get the same first session.

I created a windows app in .NET and added a browser (control from VB6), and have the same problems if I make multiple instances of the browser control
inside the app, but I CAN have different session inside the .NET windows app than what I have in the IE browsers. They don''t seem to cross.

How is the session being held if it is not in a cookie or in a cached page? I open a new browser and log in from the beginning, so the session can''t be in the URL, or in a hidden text field??

I think I must be missing something on how the sessions are stored??

Any help would be greatly appreciated, and I apologize if this is an
inappropriate group to post to.

-Darrin






这篇关于结束会议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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