Encrypt querystring?

V

VB Programmer

I have an ASP login page. Once logged in, I get redirected to an ASPX page.
According to alot of people sharing session variables is difficult between
ASP and ASPX page so I was thinking about using the querystring.

Is there a way to encrypt a querystring in ASP and decrypt it in ASP.NET?

For example, if I had a redirect like this:
SecuredPage.aspx?UserName=BJones&Password=Hello

I want to encrypt it so that it is garbage to the human eye. But, I still
want to be able to use it, such as QueryString("UserName").

Any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top