It's generally a bad idea to send any sensitive data using the querystring,
for security purposes.
You'll need to encrypt using the System.Security.Cyptography classes. What
you can do is use RC4 encryption to encrypt your string, and then convert it
to Hex so it can safely be passed in the querystring.
I've done this in classic ASP, but haven't got round to converting it to
..net yet, so unfortunately I don't have a code sample. If you'd like to see
the classic ASP version, let me know.
Hope this helps,
"Onur Bozkurt" <onur.bozkurt▀ofthome.net> wrote in message
news:OzJbesRUDHA.1588TK2MSFTNGP11.phx.gbl...> I'am sending some data by the querystring. But I don't want it to be
> seen exactly because of security reasons. Is there a way to encrypt it
> and later decrypt when reading the querystring...?
> I would be very happy with some sample code.