473,385 Members | 1,375 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Encrypting query strings

I cannot get an answer as to why my session state no longer remains active
between webpages after working for 2 years. So I want to try to pass data
thru query strings in my url. I tried to use SecureString to encrypt the
sensitive data but cannot figure out how to encrpyt data using this method
from the documentation. Does anyone have an example of how to encrpyt data
when passing data with a url in a Redirect to another webpage using C# and
then un-ecrypting the data in the new webpage?
Sep 29 '06 #1
2 1838
Jon
Hi mate,

Why can't you just write a method that returns an encrypted string? There's
loads of examples out there.

Jon

"Parrot" wrote:
I cannot get an answer as to why my session state no longer remains active
between webpages after working for 2 years. So I want to try to pass data
thru query strings in my url. I tried to use SecureString to encrypt the
sensitive data but cannot figure out how to encrpyt data using this method
from the documentation. Does anyone have an example of how to encrpyt data
when passing data with a url in a Redirect to another webpage using C# and
then un-ecrypting the data in the new webpage?
Sep 29 '06 #2
Hi Jon;
Can you tell me where the examples of encrypting are? I couldn't find any
in Microsoft's documentation. What I really am upset about is that I can't
get my session to stay active. Sounds to me like a really big problem with
ASPNET if a programmer with 40 years of experience cannot figure why
something that has worked for 2 years all of a sudden stops working. Ain't
no way I can sell software in that kind of an environment.

"Jon" wrote:
Hi mate,

Why can't you just write a method that returns an encrypted string? There's
loads of examples out there.

Jon

"Parrot" wrote:
I cannot get an answer as to why my session state no longer remains active
between webpages after working for 2 years. So I want to try to pass data
thru query strings in my url. I tried to use SecureString to encrypt the
sensitive data but cannot figure out how to encrpyt data using this method
from the documentation. Does anyone have an example of how to encrpyt data
when passing data with a url in a Redirect to another webpage using C# and
then un-ecrypting the data in the new webpage?
Sep 29 '06 #3

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

Similar topics

10
by: Onur Bozkurt | last post by:
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...
0
by: xanthviper | last post by:
Hi there, I am working on encrypting my configuration strings withing my web.config file. I am working in VS 2005 using .NET 2.0 with just a C# asp.net web site. I have been following this HELP...
7
by: Bob Hollness | last post by:
OK, this has me pulling my hair out. All I want to do is encrypt/decrypt strings. They may be up to 400 characters in length though. So, I assume System.Security.Cryptography is the one to use....
11
by: frizzle | last post by:
Hi there, I need an encrypting function, but haven't got a clue where to start. First a string has to be encrypted with two different encryption keys. Both output should be anything a-z / A-Z /...
3
by: Thirsty Traveler | last post by:
I hear that MD5 is not recommended for encrypting database passwords in that it can be compromised. Does anyone have a recomendation (SHA-1, etc.) on an algorithm that would be more appropriate.
1
by: girthyvhf | last post by:
Hello all, I am trying to use the example for encrypting connection strings called: How To: Build And Run the Protected Configuration Provider Example. This is located in VS 2005 help at: ...
5
by: Chris Dunaway | last post by:
I have an application which is installed on a network share to be run from one or more workstations. I have granted trust to the applications on the workstations and the appropriate permissions on...
1
by: vikram | last post by:
How can we encrypt app.comfig keys in .net 2003 ? Thanks
2
by: SeeSharp Bint | last post by:
Visual Studio 2005, dotnet, c#. Microsoft SQL Server. Windows XP forms application. Temporarily, for my database application, I have been storing the various elements of database connection...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.