/    Sign up×
Community /Pin to ProfileBookmark

Hi,

I’ve got this long form with many fields. When i submit the form,
it says, binary data will be truncated. I wonder if anyone else has faced this problem and managed to solve it?

Or any suggestions from any kind soul out there?

thanks and regards!
bkeong ?

to post a comment
HTML

6 Comments(s)

Copy linkTweet thisAlerts:
@David_HarrisonSep 29.2004 — Well, if you're submitting the form using method="get" then try method="post", I think that you can transfer more data through page headers than you can through the querystring.

If you are using post or that doesn't work, then I guess you'll just have to split the form up into multiple pages.
Copy linkTweet thisAlerts:
@bkeongauthorSep 29.2004 — Hi LavaLamp

thanks. i used 'post' and submitted it to a ASP program. Isn't there a way to get around this problem instead of splitting up the form?

regards!

bkeong
Copy linkTweet thisAlerts:
@David_HarrisonSep 29.2004 — Well if you're using post, try using get, maybe I got it through wrong way around. I think that there is a 4K limit to data in the querystring, not sure about through the headers.

The only other way would be to set a cooki with JavaScript and read that cookie on the server side but that is a REALLY bad idea since some people don't have JavaScript and some people have cookies disabled.
Copy linkTweet thisAlerts:
@bkeongauthorSep 29.2004 — Hi LavaLamp,

thanks, i guess i'll just have to experiment.

regards!

bkeong
Copy linkTweet thisAlerts:
@David_HarrisonSep 29.2004 — Sorry I couldn't help. Why can't you just split the form up into multiple pages though?
Copy linkTweet thisAlerts:
@bkeongauthorSep 29.2004 — Hi LavaLamp,

Yes, maybe i'll just have to try that.

thanks!

bkeong?
×

Success!

Help @bkeong spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...