473,398 Members | 2,403 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,398 software developers and data experts.

change text in browser address field

i would like to know if there is a way to change the address in the
browser, without actually changing to it or submitting.

i.e. after a page loads that has a querystring, i want to get rid of
the querystring and just leave the url (mypage.aspx?id=1 ->
mypage.aspx)
Nov 19 '05 #1
3 1207
Mortar,

I don't know an answer to your question but if your intention is to prevent
your users from knowing your query string than simply hiding it is of no
use. If you use a trace tool (http://www.pocketsoap.com/) you can see that
this information is visible to everybody who wants to see it.

My suggestion therefore is that you should validate every request from your
users against your business logic. If you want to prevent your users from
guessing query strings you could also use guids instead of integers but even
with guids you should always validate every request.

HTHs

Daniel

"Mortar" <a@b.com> schrieb im Newsbeitrag
news:42**************@nntp.broadband.rogers.com...
i would like to know if there is a way to change the address in the
browser, without actually changing to it or submitting.

i.e. after a page loads that has a querystring, i want to get rid of
the querystring and just leave the url (mypage.aspx?id=1 ->
mypage.aspx)

Nov 19 '05 #2
When the page loads check whether the qs. is empty or not. save the value of
querystring to a session variable and then redirect to the page mypage.aspx
and then as the qs is empty, use the sessionvariable;)

regards

"Mortar" <a@b.com>, haber iletisinde şunları
yazdı:42**************@nntp.broadband.rogers.com.. .
i would like to know if there is a way to change the address in the
browser, without actually changing to it or submitting.

i.e. after a page loads that has a querystring, i want to get rid of
the querystring and just leave the url (mypage.aspx?id=1 ->
mypage.aspx)

Nov 19 '05 #3
Hi,

I don't think that this is something which one should do...

Daniel
"Barış Cem Şal" <sa*@ug.bilkent.edu.tr> schrieb im Newsbeitrag
news:O$*************@tk2msftngp13.phx.gbl...
When the page loads check whether the qs. is empty or not. save the value
of querystring to a session variable and then redirect to the page
mypage.aspx and then as the qs is empty, use the sessionvariable;)

regards

"Mortar" <a@b.com>, haber iletisinde şunları
yazdı:42**************@nntp.broadband.rogers.com.. .
i would like to know if there is a way to change the address in the
browser, without actually changing to it or submitting.

i.e. after a page loads that has a querystring, i want to get rid of
the querystring and just leave the url (mypage.aspx?id=1 ->
mypage.aspx)


Nov 19 '05 #4

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

Similar topics

4
by: Richard Cornford | last post by:
For the last couple of months I have been trying to get the next round of updates to the FAQ underway and been being thwarted by a heavy workload (the project I am working on has to be finished an...
14
by: jlemay | last post by:
if you look at http://www.emrose.net/contact1.html the last field is a textarea field and I can't make it align with the other text fields. it's pretty close, but this comes from trial and...
4
by: DerekM | last post by:
I have a database project that I created with several forms and reports. I would like to be able to declare a single title and be able to change the title on all the forms and reports by changing...
6
by: Lauren Wilson | last post by:
Hi Folks, I am totally confused about the following: 1. Is it possible to change the size of an EXISTING TEXT table field in Access 2k or later using DAO or ADO code? 2. If so, does anyone...
3
by: Olivier Verdin | last post by:
Hi, I am developing a multi-language application in ASP.NET in c#. I am using a file field html control to upload an image. I would like to change the text on the button "browse" that comes...
4
by: andreas.w.h.k. :-\) | last post by:
How do I change the address location in the wsdl <wsdl:port name="SearchSoap12" binding="tns:SearchSoap12"> <soap12:address location="http://searchservices/engine/search.asmx" /> </wsdl:port> ...
5
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I change the text in the url/location bar?...
4
by: sufian | last post by:
Below is the field where user enters his/her email address and the AJAX post request is sent to the server and the user sees the message: echo("<div id=\"message\" class=\"success\">Thank you! You...
6
by: K Viltersten | last post by:
I have the following button: <asp:LinkButton id="Btn" runat="server" text="Click"> </asp:LinkButton> I have added an action listener in the javascript where I change the text on it:...
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
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,...
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
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.