Base64 Decode

I am currently working on a project in classic ASP where I receive an XML file that contains an encoded base64 string that I need to do Decode the base64 string for a binary write. Insert the decoded string into SQL Server for later binary writes.

I have searched the web but I cannot find anything that works. There are many decode functions available but I cannot insert the results into SQL server.

View Replies


ADVERTISEMENT

BASE64 Encoding

I've finished my whole application and now I don't like the whole
session variables that I am using. I have a form, user fills in info
clicks submit and using CDOSYSMail an email link gets created with an
encoded query string. i.e
http://www.yahoo.ca?#$@%@&#%#$@&^@%# which translates into
http://www.yahoo.ca?userID=54&LocationID=Denver.

Now when the user get's this email and clicks on the link I have a
decode function(again using BASE64) that takes that url and decodes it
to http://www.yahoo.ca?userID=54&LocationID=Denver. My app then
connects to the database and pulls info associated with that
querystring. I am doing the passing from page to page using session
variables. I do not want to do this? Any ideas How I can take what
is encoded in the url link and decode it on the next page? Let me
know if there is a simple solution to this. I love the encode/decoding
function.

View Replies View Related

Convert String To SHA-1 Base64 Format

I have 3 fields....Name, CC, and Number. I want to combine all 3 fields to become 1 string...example:

Name:VRAO
CC:415244411258741
Number:125412002

StringCombine: VRAO415244411258741125412002

With that StringCombine i want to convert it to SHA-1 Base 64 format. I not sure how to make the string become SHA-1.

View Replies View Related

Encode And Decode Strings

I have problem with what is seen in address bar.
I need a code to encode my queryStrings and again decode it
in the destination.So ther will be just unkown charecters for users in the address bar

View Replies View Related

Decode Request Data

When a browser sends (get or post) a form data containing non-ASCII char-s (i.e. above 127), Request returns some char-s encoded like '&#nnn'. It seems that when I used a standard WindowsXP keyboard driver to type a non-English text, the char-s are not encoded.

But when I copy/paste non-ascii char-s(e.g. from range 127..255, mostly Latin char-s with acute, grave and etc) from Character Map, then a browser sends them in '&#nnn' format. Why? And how to decode these char-s at a server end? Something reverse to Server.HTMLEncode().

View Replies View Related

What Charset The IIS Uses To Decode POST Request?

I am working on multilingual web-application, and I have to be very sure
about how the international characters are encoded and decoded in the
client-server form requests. Code:

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved