Making individual objects bookmarkable
Making individual objects bookmarkable
- Subject: Making individual objects bookmarkable
- From: Ray Ackland <email@hidden>
- Date: Mon, 6 Aug 2007 22:08:06 +1200
I am about to start creating a WO application that will mainly be
used internally, but will let external people update their own details.
To do this, a url would be emailed out to the people in question, and
clicking on the link will take them to their details.
I expect that direct actions will play a main role here, but my
problems is creating the url string that is unique for each person,
difficult to guess a valid one, and reversible.
I have had a look at hashCode(), but I would need to combine several
to increase the length (and hence number of possible values) and it
would need to be reversible in order to take the string and turn it
back into the record.
On that point, I suppose it is just a case of storing the hashed code
in the user record and basing the object fetch on that.
So now that I think I've figured it out, can someone suggest a better
way that I'm overlooking and may already be available?
Ray.
_______________________________________________
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