Solved

Passing Binary Data

Posted on 2001-06-18
5
220 Views
Last Modified: 2008-02-26
I am trying to store a binary data into a hidden field in my page.

But somehow the data got truncated. I have tried HTMLEncode but it is still not correct..

FYI. The binary data is from a propertybag contents.


Thank you.
0
Comment
Question by:fkmfkm
5 Comments
 
LVL 3

Expert Comment

by:phuctran
ID: 6205093
what method did you use?  use POST, don't use GET.
<form name='frmTest' method='POST'>
0
 

Author Comment

by:fkmfkm
ID: 6205137
I use post...

But i just get something like


<HTML>
<FORM ACTION="Default.asp" METHOD="POST">
<INPUT NAME="NAME">
<INPUT TYPE="SUBMIT">
????????????????????walterwalter
</FORM>
</HTML><INPUT NAME="X.X" VALUE="?

The value somehow got missing after the "?"
0
 
LVL 2

Accepted Solution

by:
ZhongYu earned 50 total points
ID: 6205289
You cannot send binary in HTTP. The usual practice is BASE64 encode it, then you must decode it when using it on client.
0
 
LVL 20

Expert Comment

by:Silvers5
ID: 6205399
tried Response.BinaryWrite  but both ways the browser will  truncate it..
0
 

Author Comment

by:fkmfkm
ID: 6205633
so how do it BASE64 encode it ?
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question