![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Re: Encoding/compress CGI GET parametersby em (Scribe) |
on Jan 18, 2001 at 04:10 UTC ( #52643=note: print w/replies, xml ) | Need Help?? |
How about a non perl solution? A lot of mail clients will do the right thing if a URL is enclosed in < >.
Meaning you email the URL as: If you still need to cut down the length of the URL, I would still look at just passing a session key with the URL and then doing a database lookup based on the key. Also, rather than building the key lookup into the main cgi script, I suggest that you write a generic redirect script that does the look up. Meaning, you send <http://www.server.com/cgi-bin/redir.pl?KKDIS47> and the script does a database look on KKDIS47 and then redirects to http://www.server.com/cgi-bin/script/script.plParam1=Value&Param2=value&Param3=value
In Section
Seekers of Perl Wisdom
|
|