473,397 Members | 1,961 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,397 software developers and data experts.

Encoding Query String

I am trying to use the approach outlined in an article at
http://www.dotnetjunkies.com/HowTo/9...75836DC72.dcik
but when I add the sample code to my VSNET 2003 solution it flags
"SecureQueryString" as undefined. How can I use the sample code?

Wayne
Nov 19 '05 #1
4 2069
Did you donwload the soruce code?
Compile it?
Add a reference to it in your project?
--
Joe Fallon

"Wayne Wengert" <wa***********@wengert.org> wrote in message
news:Oa**************@TK2MSFTNGP14.phx.gbl...
I am trying to use the approach outlined in an article at
http://www.dotnetjunkies.com/HowTo/9...75836DC72.dcik
but when I add the sample code to my VSNET 2003 solution it flags
"SecureQueryString" as undefined. How can I use the sample code?

Wayne

Nov 19 '05 #2
Joe;

Thanks for the response. I did download the code but did not compile it. I
just copied the dll and pdb to my system and added a reference to the dll in
my project. I thought that would work?

Wayne

"Joe Fallon" <jf******@nospamtwcny.rr.com> wrote in message
news:%2******************@TK2MSFTNGP10.phx.gbl...
Did you donwload the soruce code?
Compile it?
Add a reference to it in your project?
--
Joe Fallon

"Wayne Wengert" <wa***********@wengert.org> wrote in message
news:Oa**************@TK2MSFTNGP14.phx.gbl...
I am trying to use the approach outlined in an article at
http://www.dotnetjunkies.com/HowTo/9...75836DC72.dcik
but when I add the sample code to my VSNET 2003 solution it flags
"SecureQueryString" as undefined. How can I use the sample code?

Wayne


Nov 19 '05 #3
Ok.
But you are not giving enough information in your messages.

Your first message didn't mention any of this.
It sounded like a newbie mistake -
I copied the code from the web site - but it does not work.

By copying the .dll to your bin folder and adding a reference it should
work.

Now you need to post your code showing what you are trying to do so we can
see where it is failing.
--
Joe Fallon

"Wayne Wengert" <wa***********@wengert.org> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
Joe;

Thanks for the response. I did download the code but did not compile it. I
just copied the dll and pdb to my system and added a reference to the dll
in my project. I thought that would work?

Wayne

"Joe Fallon" <jf******@nospamtwcny.rr.com> wrote in message
news:%2******************@TK2MSFTNGP10.phx.gbl...
Did you donwload the soruce code?
Compile it?
Add a reference to it in your project?
--
Joe Fallon

"Wayne Wengert" <wa***********@wengert.org> wrote in message
news:Oa**************@TK2MSFTNGP14.phx.gbl...
I am trying to use the approach outlined in an article at
http://www.dotnetjunkies.com/HowTo/9...75836DC72.dcik
but when I add the sample code to my VSNET 2003 solution it flags
"SecureQueryString" as undefined. How can I use the sample code?

Wayne



Nov 19 '05 #4
FWIW,
I implemented SecureQueryString yesterday.
I ran into a couple of issues and solved them.
Only to later find out if you read the forum messages these problems are
noted there.

e.g. The "+" sign is present in the encrypted string but disappears when
examining the Request.Querystring collection.
For example: "SomePage.aspx?data=dkfjewiuwi+rkfwejkf++felwfkj++ +ewrfkljpo"
returns:
?qs[data]
"dkfjewiuwi rkfwejkf felwfkj ewrfkljpo"

So I just use .Replace(" ", "+") and it worked.
--
Joe Fallon


"Joe Fallon" <jf******@nospamtwcny.rr.com> wrote in message
news:uf**************@TK2MSFTNGP09.phx.gbl...
Ok.
But you are not giving enough information in your messages.

Your first message didn't mention any of this.
It sounded like a newbie mistake -
I copied the code from the web site - but it does not work.

By copying the .dll to your bin folder and adding a reference it should
work.

Now you need to post your code showing what you are trying to do so we can
see where it is failing.
--
Joe Fallon

"Wayne Wengert" <wa***********@wengert.org> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
Joe;

Thanks for the response. I did download the code but did not compile it.
I just copied the dll and pdb to my system and added a reference to the
dll in my project. I thought that would work?

Wayne

"Joe Fallon" <jf******@nospamtwcny.rr.com> wrote in message
news:%2******************@TK2MSFTNGP10.phx.gbl...
Did you donwload the soruce code?
Compile it?
Add a reference to it in your project?
--
Joe Fallon

"Wayne Wengert" <wa***********@wengert.org> wrote in message
news:Oa**************@TK2MSFTNGP14.phx.gbl...
I am trying to use the approach outlined in an article at
http://www.dotnetjunkies.com/HowTo/9...75836DC72.dcik
but when I add the sample code to my VSNET 2003 solution it flags
"SecureQueryString" as undefined. How can I use the sample code?

Wayne



Nov 19 '05 #5

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

Similar topics

4
by: Stephen | last post by:
Using the code below I am trying, in VB .Net 2003, to serialise classes defined in a couple of XSD documents. The encoding for both is Unicode(UTF-8). However the resulting XML is encoded as...
7
by: Jim Lawton | last post by:
Hello, tried this in framework.aspnet without any luck so far, maybe someone here has a comment ... TIA, Jim ..net c# httphandler straight html form at browser. GBP pound sign problem (I...
9
by: Mark | last post by:
I've run a few simple tests looking at how query string encoding/decoding gets handled in asp.net, and it seems like the situation is even messier than it was in asp... Can't say I think much of the...
2
by: Jim Lawton | last post by:
Hi, ..net c# httphandler straight html form at browser. GBP pound sign problem (I know I know - I *can* decode it, but I've got to understand what and why I should be doing stuff) I am...
4
by: Mark | last post by:
Hi... Just noticed something odd... In old ASP if you had query parameters that were invalid for their encoding (broken utf-8, say), ASP would give you back chars representing the 8-bit byte...
2
by: j.e.frank | last post by:
I am puzzled by some behavior that I'm seeing and I hope that someone can enlighten me. It will take me a few moments to explain the problem, but it does relate to javascript eventually. I need...
6
by: kath | last post by:
Hi all, Platform: winxp Version: Python 2.3 I have a task of reading files in a folder and creating an one excel file with sheets, one sheet per file, with sheet named...
23
by: Allan Ebdrup | last post by:
I hava an ajax web application where i hvae problems with UTF-8 encoding oc chineese chars. My Ajax webapplication runs in a HTML page that is UTF-8 Encoded. I copy and paste some chineese chars...
8
by: MaxMax | last post by:
Is it possible to tell to the WebClient to use an "automatic" encoding when doing DownloadString? The encoding of the connection is written in the header, so the WebClient should be able to sense...
1
by: Rui | last post by:
Hi, how can i do what Encoding.ASCII.GetBytes (in .net, c#) does with the strings. I am trying to query some dns server to check its response using udp sockets. Some of the source below: #...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
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...

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.