Re: Digging up a Session object from an EOGenericRecord
Re: Digging up a Session object from an EOGenericRecord
- Subject: Re: Digging up a Session object from an EOGenericRecord
- From: Riccardo De Menna <email@hidden>
- Date: Sat, 7 Mar 2009 14:49:45 +0100
On 07/mar/09, at 14:02, Mike Schrag wrote:
ERXThreadStorage in Wonder is an option ... you don't want to tie
your model to your WO layer -- if you ever want to use your model
outside of a web app, it's going to be a huge pain
You are right there. But the value is only stored for inspection.
Nothing depends on it and it's only to satisfy my client that want's
to know who wrote/modified what (it's an online newspaper). In other
words it is perfectly fine for it to be empty if I ever used it from
outside of my webapp. If it where only for the timestamp I could rely
on specific db features like MySQL's ability to auto set the
timestamp. But I need the user as well.
How does ERXThreadStorage work? What can I assume to be in the same
thread?
rdm
_______________________________________________
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