473,505 Members | 14,136 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem passing encrypted string in url


Hi

I have a javascript code which take string and encrypt it
since the encrypted string contains unsafe characters
I am calling URLEncode ,but than the result string is much to
long in order to pass in in the URL(i must use this method)

Thanks.
Jul 19 '05 #1
2 1829
You could perhaps convert yourself so that really problematic characters are
encoded. I know you must but IMO requiring passing such a long string on the
querystring is just bad.

Can't you really explain to the person that provides the processing page
that it causes a problem ? Or are you in a special case that causes you to
"GET" far more characters than usual ?

Patrice

--

"Julia" <co********@012.net.il> a écrit dans le message de
news:uk**************@TK2MSFTNGP15.phx.gbl...

Hi

I have a javascript code which take string and encrypt it
since the encrypted string contains unsafe characters
I am calling URLEncode ,but than the result string is much to
long in order to pass in in the URL(i must use this method)

Thanks.

Jul 19 '05 #2
Can't you store it in a DB, and replace the encoded string, with something
short and meaningful.

E.g.

'// DB
Field_ID | String

1 | Encoded string

.... then instead of;

theurl.com/?something=encodedstring

you could use;

theurl.com/?something=1

... and then just pull it from the DB as needed.

This would allow you to keep things short :o)

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Julia" <co********@012.net.il> wrote in message
news:uk**************@TK2MSFTNGP15.phx.gbl...

Hi

I have a javascript code which take string and encrypt it
since the encrypted string contains unsafe characters
I am calling URLEncode ,but than the result string is much to
long in order to pass in in the URL(i must use this method)

Thanks.

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
8223
by: chris | last post by:
I'm writing a small app to help me learn more about cryptography. All it does is encrypt all of the files in directory A, and put the encrypted versions of the files in directory B. It then...
10
2313
by: crawlerxp | last post by:
This is the problem: I do not get the output I need when encoding and decoding data using rijndael alghoritm. Look at the code and see what the problem is actually: Please paste this code into...
7
5475
by: c duden | last post by:
I am attempting to encrypt some text and be able to decrypt it at a later time. I have two methods to do this: public static Byte EncryptText(string textToEncrypt, string encryptionHash) {...
5
3280
by: John | last post by:
Hi I am trying to set a new password using the following code; Dim u As MembershipUser = Membership.GetUser(UserName) Dim OldPassword As String OldPassword = u.GetPassword If...
22
2488
by: Wilson | last post by:
i am learning to program using c++ and was set a task of making a simple encryption algorithim. I choose to start with one where simply each letter is replaced with its equivilent in the alphabet...
0
7216
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7098
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7303
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7367
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5613
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5028
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3176
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1528
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
754
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.