• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
prevent memory drain through sessions?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

prevent memory drain through sessions?


  • Subject: prevent memory drain through sessions?
  • From: OC <email@hidden>
  • Date: Thu, 24 Mar 2016 18:21:12 +0100

Hello there,

one of my applications drained its memory quickly; it looks like the primary cause was creation of thousands sessions, which itself was caused by lots of Google requests containing spurious (probably stored years ago) session IDs. It seems each such request creates a new session, and hilarity quickly ensues.

Of course, moving session IDs to cookies would help (and kicking out those bloody Google bots from the server would help tremendously), but I wonder...

... first, sometimes session IDs in URLs are needed, e.g., to allow concurrent work in different sessions from more browser tabs/windows. Besides, an attack can be created maliciously with spurious session IDs in cookies just as well.

Is there a known and tested way to reliably prevent this kind of session-induced death? Some trick to create new sessions only for valid requests? Perhaps handleSessionRestorationErrorInContext redirecting to a static address without a session ID, or something like that?

Thanks,
OC


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: prevent memory drain through sessions?
      • From: Chuck Hill <email@hidden>
    • Re: prevent memory drain through sessions?
      • From: Lon Varscsak <email@hidden>
  • Prev by Date: loosing changed data in AjaxExpansion
  • Next by Date: Re: prevent memory drain through sessions?
  • Previous by thread: Re: loosing changed data in AjaxExpansion
  • Next by thread: Re: prevent memory drain through sessions?
  • Index(es):
    • Date
    • Thread