开发者

Long URLs (Bitly and TinyURL)

I'm sitting with a problem where I need to pass more than 2000 characters from my Flash application to an HTML page which reads the information and displays the correct options made in the Flash app the person came from.

All's good but on the final stage, when the user needs to post their choices to a form, the character cannot be sent because the string is too long.

Is there a way to use a service开发者_JAVA技巧 such as Bitly or TinyURL to send these long string and for them to be "deconstruction" on the other end when the form is sent?

Otherwise, is there another solution to this problem?

Many thanks!


You should be using POST to pass variables, instead of GET. That way you don't need to worry about sending URL parameters. This is an option in Flash.


Are you using Internet Explorer? Because the problem might even be that the maximum URL size is 2083. Otherwise it could also be that the input field is too short (see the maxlength attribute of the input element)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜