Re: SOLVED: Zombie sessions
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