Shortest URL Possible???
Shortest URL Possible???
- Subject: Shortest URL Possible???
- From: Goodbye Bill <email@hidden>
- Date: Mon, 14 Jul 2003 04:15:29 -0400
What is the shortest possible URL I can use with WebObjects to give my user
a confirmation link? I realize I can use a DirectAction, but I would like
to have a shorter/simpler URL.
As it stands, this is what I have in my WebObjects application:
http://www.myapp.com/cgi-bin/WebObjects/MyApp.woa/wa/Confirm?id=ABCDEF
This is just WAY too long! How can I get it shorter? As you can see from
the example below I am willing to code some work-arounds if I have to.
EXAMPLE:
In a previous .NET application, when a user signed up, I sent him the
following type of URL to confirm his email address...
Primary URL Example:
http://www.myapp.com/ABCDEF
These would have also worked:
http://www.myapp.com/confirm.aspx?ABCDEF
http://www.myapp.com/confirm.aspx?id=ABCDEF
HOW IT WORKED:
The first example used a custom 404 error page and stripped apart the entire
URL in the user's browser. If it appeared to be a confirmation code, the
code would be passed to the logic in the "confirm.aspx" page. That page
would then parse the query string and perform based on the query string.
Thanks! =S
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.