Results 1 to 6 of 6

Thread: Global.asa???

  1. #1

    Thread Starter
    Addicted Member wernerh's Avatar
    Join Date
    Sep 2000
    Posts
    170

    Unhappy Global.asa???

    When is the global.asa file used?

    If I Put a response.write and then a response.end in the Session_Onend procedure it never gets executed!
    But it does work in the session_onstart??????

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Session_OnStart - A user starts to access your website.

    Session_OnEnd - A user exits your website.

    Useful for updating counters and the like.
    Global.ASA cannot output any HTML/Text.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  3. #3
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    Session_OnEnd - A user exits your website.
    Wrong. It fires when a session ends. Which the wy IIS works is not until the Session times out NOT when the user leaves the site unless you specifically call the code Sesion.Abandon when the leave.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  4. #4
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Really? I was under a false impression

    Have you noticed also that the avatars have disappeared?
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  5. #5
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    HEY WHERES MY AVATAR???? Hurumph..
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  6. #6
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    If you read the forum feedback you'll see why they're not there.

    You can set the time it takes for the session to time out if you want. I think the default is about 20 minutes or so.
    Harry.

    "From one thing, know ten thousand things."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width