James,

That's what I was waiting for. I think it's a really great idea – no need to calculate a random string as WO has already done this, and uniqueness is guaranteed due to the prefix.

Thanks for the suggestion. It was the final piece I was needing.

r

:-)

On 7/08/2007, at 17:52, james o wrote:

i use the session id as a "random string" for linking to an invoice.

String uniqueId = storeInvoice.valueForKey("rowId") + "_" + ((Session)session()).sessionID();
                        storeInvoice.takeValueForKey( uniqueId , "uniqueId"); 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to