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.

Re: Problem passing encrypted string in url by Patrice

Patrice
Wed Sep 22 11:53:27 CDT 2004

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" <codewizard@012.net.il> a écrit dans le message de
news:ukstMLMoEHA.3876@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.
>
>



Re: Problem passing encrypted string in url by Steven

Steven
Wed Sep 22 11:54:09 CDT 2004

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" <codewizard@012.net.il> wrote in message
news:ukstMLMoEHA.3876@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.
>
>