?
Solved

Passing Binary Data

Posted on 2001-06-18
5
Medium Priority
?
224 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 150 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

765 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