Passing a hash through a URL
I have a question about passing data through URL's. I'm passing hashes in a CGI script, but sometimes when I click on a link that passes a larger hash, nothing happens. I don't get any message. I'm guessing there is a limit to the amount of data I can pass through a URL? If this is the case, are there any ways to fix this problem? Thanks for the help, Josiah -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Passing a hash through a URL
> I have a question about passing data through URL's. I'm > passing hashes in a > CGI script, but sometimes when I click on a link that passes > a larger hash, > nothing happens. I don't get any message. I'm guessing > there is a limit to > the amount of data I can pass through a URL? If this is the > case, are there > any ways to fix this problem? I assume by "passing data through URL's" you mean using GET. there is a limit, I don't remember exactly what it is. if you use POST there is effectively no limit. hth Al Hospers CamberSoft, Inc. alcambersoftcom http://www.cambersoft.com Shockwave and Director development, CD-ROM, HTML, CGI scripting, and Graphic Design. A famous linguist once said: "There is no language wherein a double positive can form a negative." YEAH, RIGHT -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Passing a hash through a URL
Hi. Thanks for the response. I'm passing the hash with an href in this manner. So does this mean that I'm not using get or post? $query = CGI->new({red => [%{$clusArrayHash[$i]}]})->query_string; print pre h6 (" ", a ({ -href => "http://140.247.111.176/cgi-bin/redundancies.pl?red=$query"; }, "Redundant sequences")); -Original Message- From: Al Hospers [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 8:42 PM To: 'Josiah Altschuler'; [EMAIL PROTECTED] Subject: RE: Passing a hash through a URL > I have a question about passing data through URL's. I'm > passing hashes in a > CGI script, but sometimes when I click on a link that passes > a larger hash, > nothing happens. I don't get any message. I'm guessing > there is a limit to > the amount of data I can pass through a URL? If this is the > case, are there > any ways to fix this problem? I assume by "passing data through URL's" you mean using GET. there is a limit, I don't remember exactly what it is. if you use POST there is effectively no limit. hth Al Hospers CamberSoft, Inc. alcambersoftcom http://www.cambersoft.com Shockwave and Director development, CD-ROM, HTML, CGI scripting, and Graphic Design. A famous linguist once said: "There is no language wherein a double positive can form a negative." YEAH, RIGHT -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Passing a hash through a URL
On Thu, 7 Feb 2002, Josiah Altschuler wrote: > Hi. Thanks for the response. I'm passing the hash with an href in this > manner. So does this mean that I'm not using get or post? > > $query = CGI->new({red => [%{$clusArrayHash[$i]}]})->query_string; > print pre h6 (" ", a ({ -href => > "http://140.247.111.176/cgi-bin/redundancies.pl?red=$query"; }, "Redundant > sequences")); It's a 'get' method. You're limited, I think, to 256 characters. -Brett http://www.chapelperilous.net/ Hollywood is where if you don't have happiness you send out for it. -- Rex Reed -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]