Hi--
How can one replace the URL in the address bar to a "friendly alternative"?
Is there a way to do this with JavaScript?
Is there a way to do this ASP.NET?
For example, suppose I have a site that has the URL... http://www.MySite.com/
....and when I browse to one section in this site, the URL may look like
this... http://www.MySite.com/Products/
.....and when I browse to another section, the URL may look like this... http://www.MySite.com/Data/Page.htm?...Description=52
....and so on, with many different ugly URL strings....
....now, what I want to do is to make the URL in the browser's window always
look like this... http://www.MySite.com
....no matter what page I am on in the site.
What do you think?
Is there a way to do this with JavaScript?
Is there a way to do this ASP.NET?
Please advise.
Thank you very much.
--Mark 2 1251
The answer is easy--no! You can't do that by javascript or asp.
However, if you use asp, why not design a page, say http://www.MySite.com/main.asp, which
take parameters from the client to give requested page. If the form data is
POST to the
sever, it won't appear on the address bar.
But it will make your life difficult. Even Microsoft uses "ugly" addresses,
doesn't it?
Ben
Hi--
How can one replace the URL in the address bar to a "friendly
alternative"? Is there a way to do this with JavaScript?
Is there a way to do this ASP.NET?
For example, suppose I have a site that has the URL...
http://www.MySite.com/
...and when I browse to one section in this site, the URL may look like this...
http://www.MySite.com/Products/
....and when I browse to another section, the URL may look like this...
http://www.MySite.com/Data/Page.htm?...Description=52
...and so on, with many different ugly URL strings....
...now, what I want to do is to make the URL in the browser's window
always look like this...
http://www.MySite.com
...no matter what page I am on in the site.
What do you think?
Is there a way to do this with JavaScript?
Is there a way to do this ASP.NET?
Please advise.
Thank you very much.
--Mark
Use a secure site: HTTPS
"Mark Kamoski" <mk******@yahoo .com> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
Hi--
How can one replace the URL in the address bar to a "friendly
alternative"? Is there a way to do this with JavaScript?
Is there a way to do this ASP.NET?
For example, suppose I have a site that has the URL...
http://www.MySite.com/
...and when I browse to one section in this site, the URL may look like this...
http://www.MySite.com/Products/
....and when I browse to another section, the URL may look like this...
http://www.MySite.com/Data/Page.htm?...Description=52
...and so on, with many different ugly URL strings....
...now, what I want to do is to make the URL in the browser's window
always look like this...
http://www.MySite.com
...no matter what page I am on in the site.
What do you think?
Is there a way to do this with JavaScript?
Is there a way to do this ASP.NET?
Please advise.
Thank you very much.
--Mark
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Joey Martin |
last post by:
Couple questions when parsing using replace.
I have the following text I am parsing:
$650
Number of Bedrooms 3
Air Conditioning? Yes
Original Ad SOUTH, 3BR, air, basement. $650. Call 278-4171.
First Appeared in the Newspaper
Thursday, October 30, 2003
$775
|
by: Miguel J. Jiménez |
last post by:
Hi, I have the following node:
<node>
Some text here with lots of inside it...
</node>
and I would like it to transfrom it using XSLT to the following:
Some text<br/> here with</br> lots of</br> inside it...
Being <br/> HTML tags and not simple text like <br/>
|
by: Wim Roffal |
last post by:
Is there a possibility to do a string replace in javascript without regular
experessions. It feels like using a hammer to crash an egg.
Wim
|
by: Daniel |
last post by:
I use an Access database to basically take data exports, import them,
manipulate the data, and then turn them into exportable reports. I do
this using numerous macros, and queries to get the data in the format
that I need it in order to create the reports that we use. So far this
has proven to be successful for the reports that I am doing and...
|
by: dig314 |
last post by:
MSAccess linking to Oracle 8 tables with Microsoft ODBC for Oracle
driver
I need to change the email address of all users because our domain has
changed. Is there a way to do this with SQL and not an Edit Replace
from Access?
SELECT REPLACE ('domainOld.com', 'domainOld.com',
'domainNew.com') FROM User_Table
| |
by: localpricemaps |
last post by:
i have some html that looks like this
<address style="color:#">34 main,<br> Boston, MA</address>
and i am trying to use the replace function to get rid of the <Br> that
i scrape out using this code:
for oText in incident.fetchText( oRE):
strTitle += oText.strip()
|
by: g0c |
last post by:
hi,
how to hide or replace email addresses in php mail function
with something like "group" so the email addresses to which email
is sent are not visible ?
i have :
$subs = "email1@dot.com, emai2@dot.com, email3@dot.com"
$header .= "To : email@notset.com\r\n";
|
by: MrHelpMe |
last post by:
Hello again experts,
I have successfully pulled data from an LDAP server and now what I want
to do is drop the data into a database table. The following is my code
that will insert the data but that has problems.
FullName=Request.Form("Name")
Email=Request.Form("Email")
GivenName=Request.Form("GivenName")
|
by: MoslyChang |
last post by:
Hi, All
When I look at effective c++,item2 and item3.
I have some basic questions , Does anyone be familar with this topic?
it suggests const is perfer to #define, then I think how to
replace #define with const.
example:
2 header file StringGrid1.h StringGrid2.h
|
by: Ned White |
last post by:
Hi All,
To replace some substrings in a string value, i use Regex.Replace method
mulptiple times like;
strmemo = "new Data for user; Name:@@Name , Surname:@@Surname,
Address:@@Address";
strmemo = Regex.Replace(strmemo,"@@Name", value1.ToString());
strmemo = Regex.Replace(strmemo,"@@Surname", value2.ToString());
strmemo =...
|
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...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
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...
|
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...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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
|
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...
| |