长 URL(Bitly 和 TinyURL)

发布于 2024-09-03 11:18:16 字数 250 浏览 3 评论 0原文

我遇到了一个问题,我需要将超过 2000 个字符从 Flash 应用程序传递到 HTML 页面,该页面读取信息并显示该人所在的 Flash 应用程序中所做的正确选项。

一切都很好,但在最后阶段,当用户需要将他们的选择发布到表单时,由于字符串太长而无法发送字符。

有没有办法使用 Bitly 或 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 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!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

你丑哭了我 2024-09-10 11:18:16

您应该使用 POST 来传递变量,而不是 GET。这样您就无需担心发送 URL 参数。这是 Flash 中的一个选项。

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.

山人契 2024-09-10 11:18:16

您使用的是 Internet Explorer 吗?因为问题甚至可能是 最大 URL 大小 是 2083。否则它也可能是输入字段太短(请参阅输入元素的 maxlength 属性)

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)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文