RE: [Fwd: FW: Transfer Request for artonsite.com]

From: David Harris (dharris@drh.net)
Date: Thu Apr 13 2000 - 16:15:00 EDT


Making the link short is the way to go. It's not that hard, anyway. Don't even
place query information in the link, but pack an unique identifier (looked up
in your database for the REAL information) using base64 (change the + to @ and
the / to - as those characters otherwise need special encoding). This gives
you, what.. six bits in a character, so in a seven character identifier you get
4.3E12 possible codes.. that's plenty.

And use path_info so you don't encode the identifier in a query string, but
rather a fake directory name. And use mod_perl or
ScriptAlias/RewriteRule/whatever so you don't even need a ".cgi" to save four
characters.

Here's an example link:

http://www.somedomain.com/reg/yAEAAHc

That shouldn't be wrapped, should it?

Hopefully OpenSRS will do this. :-)

 - David Harris
   Principal Engineer, DRH Internet Inc.

-----Original Message-----
From: owner-dev-list@opensrs.org [mailto:owner-dev-list@opensrs.org] On Behalf
Of Lynn W. Taylor
Sent: Thursday, April 13, 2000 12:26 PM
To: Ken; transfers; dev-list
Cc: domains
Subject: RE: [Fwd: FW: Transfer Request for artonsite.com]

If that thoughtful response includes a solution, please share it with the
group: I've been looking very hard for a solution to this problem with one of
my systems, and aside from trying to make the link very short I've not been
successful.



This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:35:27 EDT