473,799 Members | 3,817 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

URI code between certain ranges?

Hello.

I have been looking on a job site that is quite limited in the search
options it allows.

It seems to be an asp site as it has a .aspx extension.

If I wanted to search for a salary between a certain range how do I do
it? At the moment it only allows you to select a salary that is at
least a certain amount.

If I enter it as at least 22000 it shows in the URI after the .aspx
bit with all the other information like location etc.

This is the part for the salary:

Rate=22000&Rate Type=1

I am not sure whether this is actual asp code or if it is some sort of
html code?

The trouble with this is that it returns salaries a lot higher than
you want to look for as well.

I would like to change it within the URI to search between 22000 and
28000. Is it possible to do this directly in the URI?

I have managed to change some of the keyword I search for in the URI
already as well as the range from my post code in miles that I want to
go up to.

I am not sure what I would put though for searching between a certain
salary range.

I am posting here because I couldn't really find any asp groups, and I
am not sure if this part is asp anyway. And also a lot of PHPers are
fluent in Asp and Cf too.

Thanks for any help

John

Aug 13 '05 #1
2 1117
The URL only includes variable names and their values. What happens
behind the scenes is up to the application. In other words, the
meaning of rate = 22000 is totally up to the code running server-side
that you can't see. It sounds like, in this case, the application then
returns results where rate >= 22000. But a different application might
use that to mean rate <= 22000. Yet another application might ignore
the variable all together.

Without access to the ASP code, don't expect to be able to manipulate
the URL into doing something that it wasn't designed to do.

Aug 13 '05 #2
John <ro**@runner.co m> wrote:

I have been looking on a job site that is quite limited in the search
options it allows.

It seems to be an asp site as it has a .aspx extension.

If I wanted to search for a salary between a certain range how do I do
it? At the moment it only allows you to select a salary that is at
least a certain amount.

If I enter it as at least 22000 it shows in the URI after the .aspx
bit with all the other information like location etc.

This is the part for the salary:

Rate=22000&Rat eType=1

I am not sure whether this is actual asp code or if it is some sort of
html code?


This is just the way the query parameters being encoded in the URL. There
is absolutely no way to tell how to get the script to handle situations
that aren't exploited by the web site, unless you have the source for the
web page itself. This has nothing to do with PHP or ASP. If the designer
has not anticipated handling a range, then you cannot ask it to do so.

Now, if the web site allows you to specify a range, then you can snapshot
the parameters and model your query after that. If not, you are out of
luck.
--
- Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Aug 15 '05 #3

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

Similar topics

64
3534
by: jrefactors | last post by:
Since C is a subset of C++, so any C code or C libraries (printf(), scanf(), etc...) are valid C++ code. Is that correct? so even though the whole program is written in C, but with .cpp extension, we still consider as C++ program? Please advise. Thanks
30
1593
by: Alf P. Steinbach | last post by:
The C++ FAQ item 29.5 (this seems to be strongly related to C), at <url: http://www.parashift.com/c++-faq-lite/newbie.html#faq-29.5> mentions that <quote> C++ guarantees a char is exactly one byte which is at least 8 bits, short is at least 16 bits, int is at least 16 bits, and long is at least 32 bits. </quote>
2
1726
by: Ben O'Steen | last post by:
Scenario: ========= Using PyGame in particular, I am trying to write an application that will run a scripted timeline of events, eg at 5.5 seconds, play xxx.mp3 and put the image of a ball on screen, at 7.8 seconds move the ball up and down. At this point, I hear you say 'Oh, like Flash'. Yes, well... Like Flash, but I don't want to take this app in the same direction as Macromedia took Flash, nor do I (ever) want the two to be
12
6394
by: Steve Elliott | last post by:
I have a query set up to gather together data between two specified dates. Shown in the query column as: Between #24/09/2004# And #01/10/2004# Is it possible to enter several different date ranges, ie between 24/09/2004 and 01/10/2004 together with 05/10/2004 and 07/10/2004 ? If I enter the "Between" criteria on different lines it returns no data.
8
3641
by: Noel Volin | last post by:
Anyone who can help here is much appreciated. I am trying to programmatically log onto a website. I am using the code provided in VS for the AuthenticationManager Class example ( ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/cpref/html/frlrfSystemNetAuthenticationManagerClassTopic.htm ). I have also download and tried to use the following CsharpHttp executable in an attempt to find my problem:...
5
8787
by: John Brock | last post by:
I am using VB.NET to read Excel workbooks which have various named ranges, some of which may not exist in any given workbook. I am trying to get a list of all the range names -- otherwise I need to use a Try block to avoid throwing an exception when I try to read data from ranges which aren't there, and this slows things down considerably. I am able to find the *number* of named ranges in a particular workbook using this expression:
5
7873
by: Elena | last post by:
I need the VB.NET code to change the header/footer of an Excel spread sheet, ASAP. I am doing it through a VB application. I can change the ranges/cell values using code, but I do not know how to change things outside of the cell ranges. I will try and post in an Excel group, but i do not need to change it in a worksheet, I need to change it through a VB application. For example, I am using this code to change values in certain cells: ...
9
2598
by: Christoph Bartoschek | last post by:
Hi, some time ago I've read a paper that advised to store intervals on discrete values in the format [a;b[. One starts with the first element and finishes with one past the last one. However I do not remember the author, title or link of the paper. Does anyone remember it? Greetings
7
10276
by: guido | last post by:
Hi, I'm looking for a container class that can map whole ranges of keys to objects - something like std::map, but not only for individual values for the key, but for whole ranges. Example: I want to be able to tell the container to return object a for every given key between 0 and 10, object c for every key between 11 and 500000 and object c for every key between 500001 and 599999, without having to
0
9687
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9543
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10237
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9077
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6808
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5467
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4144
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3761
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2941
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.