• 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
Re: SOLVED: Zombie sessions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SOLVED: Zombie sessions


  • Subject: Re: SOLVED: Zombie sessions
  • From: Mike Schrag <email@hidden>
  • Date: Wed, 22 Oct 2008 15:49:06 -0400

This works for me...
context().request().clone();
You might want to be SLIGHTLY careful here if you plan on changing headers and possibly userInfo in your cloned request, since it's possible that you end up with two requests that share an instance of those attributes from a clone. I'm not positive about this, but i seem to recall that .clone()ing the request won't deep clone the attributes of the request.
That said, this basic approach is definitely better than just making a blank request, because a blank request will lose a bunch of data like the virtual host address, etc, which would be required to produce urls back to the right server.

ms

_______________________________________________
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


References: 
 >SOLVED: Zombie sessions (From: Simon McLean <email@hidden>)
 >Re: SOLVED: Zombie sessions (From: Chuck Hill <email@hidden>)
 >Re: SOLVED: Zombie sessions (From: George Domurot <email@hidden>)
 >Re: SOLVED: Zombie sessions (From: Chuck Hill <email@hidden>)
 >Re: SOLVED: Zombie sessions (From: George Domurot <email@hidden>)
 >Re: SOLVED: Zombie sessions (From: Lachlan Deck <email@hidden>)
 >Re: SOLVED: Zombie sessions (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: SOLVED: Zombie sessions
  • Next by Date: Re: SOLVED: Zombie sessions
  • Previous by thread: Re: SOLVED: Zombie sessions
  • Next by thread: Re: SOLVED: Zombie sessions
  • Index(es):
    • Date
    • Thread