Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Encryption and encoding
Message
De
10/05/2006 23:26:49
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Encryption and encoding
Divers
Thread ID:
01120882
Message ID:
01120882
Vues:
62
I need some advice on some logic used in regards to encryption and encoding. I have the following string which is an encryption version of something:

dMXGnuRmZuestTpYPt55QwPELPaNd7hb4s6Ceu89hvgU2wP44BQj+FALWLMa+KNSJRlRpnmopIIvuHo9dtuK0Q==

This string is passed in a URL as a Session variable. So, basically, the URL may look like this:

MyPage.aspx?Session=dMXGnuRmZuestTpYPt55QwPELPaNd7hb4s6Ceu89hvgU2wP44BQj+FALWLMa+KNSJRlRpnmopIIvuHo9dtuK0Q==

When the page is processed, I am getting this session variable by the use of oRequest.QueryString("Session"). However, as this is a Url, the browser has applied some encoding to it. So, what I received on the server side, when using that syntax, is the encoding version and not the original string. This causes a problem as there is no way to know if the + signs, for example, were there before the encoding or not. If there were there before the encoding, then I have a problem as I cannot decrypt that back because this is not the original string I used.

Is there a way to resolve that issue?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform