Re: What Event Occurs When Someone Leaves Your Web Site?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks, Mark.

So when does the page.dispose event take place? I'd like to call the
session.abandon, but I don't know when. I can't call it in the page.unload
since that defeats the purpose of having it in the first place. If I
understand you correctly, you're saying that the only way to clear the
session variables under the conditions I've describe is with the session
timeout, correct?

Thanks again, Ross.


"Mark Fitzpatrick" <markfitz@xxxxxxxxxx> wrote in message
news:%23JZfCGsrHHA.632@xxxxxxxxxxxxxxxxxxxxxxx
No event. Keep in mind, HTTP is a stateless protocol. That means that the
connection to the browser is closed the instant it is done. In http 1.0,
that connection occured as many times as there were files referenced in
the HTML file. In http 1.1, it re-uses the existing connection to get all
the referenced files then closes the connection. After that, the server
and browser don't communicate again until you do something such as click a
link. Session variables will terminate after the session timeout occurs
(unless you programatically call a session.abandon), but the browser won't
communiate with the server when it leaves the site.


--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Ross Culver" <rculver@xxxxxxxxxxxxxxx> wrote in message
news:%23cMIqCsrHHA.4676@xxxxxxxxxxxxxxxxxxxxxxx
I need to ensure that session variables are removed whenever someone
leaves
my web site. My understanding is that this should be happening
automatically with the session mode set to InProc. But it's not. Every
machine I'm testing this on does the same thing, but then again, everyone
is
using Internet Explorer 7.0 with multiple tabs active.

Also, this problem just popped up, probably due to a change I've made,
but I
don't have a clue what that might have been.

Thanks.

Ross







.



Relevant Pages

  • Re: APPN Connection z/os - AHHC / LLC2.
    ... implied that you session stopped for a while and then continued. ... the ANNC link is a type 2.1 connection. ... I would suggest trying to limit the request unit size used over the type 2.1 ... MAXDATA operand when defining a PU statement for an adjacent link station ...
    (bit.listserv.ibm-main)
  • Re: Remote desktop deadlock on XP SP2
    ... the TS connection is frozen, even if I specify a wait timeout. ... TermSrv.dll creates a new session for the purpose of displaying the logon ... lives on a DPC routine for the network miniport ... the network packets are encapsulated and decapsulated in UDP. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: JES-APPL
    ... Then there has been a session initiation request - which can only happen over an available session path - this isn't any of your flaky IP, ... Unless the NJE application on the AS/400 has consistently been caught in the middle of being activated in some way - highly unlikely I would expect - this is not a timing problem. ... Since the connection is necessarily in place, there is no problem with the connection - just in case a modem is involved - which, given a "switched" definition is used, is not impossible, but unlikely. ...
    (bit.listserv.ibm-main)
  • Re: os users, sessions, and connections.
    ... From what I've read a session is a logged connection. ... do the following (paddr is the address of the process ... select sid, serial#, paddr, username from v$session ...
    (comp.databases.oracle.server)
  • [NEWS] Vulnerability in the TCP Protocol Allows RST Spoofing (Cisco Advisory)
    ... A vulnerability in the Transmission Control Protocol (TCP) specification ... the connection may get automatically ... Here is an example of a normal termination of a TCP session: ... Access control lists should also be deployed as close to the edge ...
    (Securiteam)