Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Transfer special characters using HTML form

Status
Not open for further replies.

seaport

MIS
Jan 5, 2000
923
US
I am creating one asp page and one aspx page tranfering senstive data back and forth. Data is encrypted using RC4, as recommended in the following link.

My idea is to put the encrypted data in a hidden field and then submit to another page.

The encypted data is like "ç;@Ë…ºõ)Õš4úAF", sometime it contains quote marks and even line breaks.

Since I cannot predict what kind of characters will be, putting the data in a hidden field in asp causes a problem that the browser cannot properly identify the data inside the field.

Another way to approach this is to get another encyption method that does not create special charactesrs.

Any suggestions on this?

Thanks in advance.

Seaport
 
How about writing data to a file, keep file name in hidden fields, reference the file(s) in lieu of the fields when processing data?

OR

Store data in DB tables and reference those tables ...

 
Thanks, southbeach,

I just got the idea chaning all characters to ascii code numbers and put all numbers in the hidden field.

Seaport
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top