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

Response.redirect and named anchors

Hi all,

All of these fail :
response.redirect("page.asp?Param=Param#Anchor")
response.redirect("page.asp#Anchor?Param=Param")

This one works fine :
location.href = "page.asp?Param=Param#Anchor"

I have a solution i dont like :
i can replace #Anchor by &Anchor=Anchor

Does someone has an other idea ?

Thanks
Jul 19 '05 #1
5 8967
http://www.aspfaq.com/2070


"Peroq" <fr*****@yahoo.com> wrote in message
news:3f**********************@nan-newsreader-01.noos.net...
Hi all,

All of these fail :
response.redirect("page.asp?Param=Param#Anchor")
response.redirect("page.asp#Anchor?Param=Param")

This one works fine :
location.href = "page.asp?Param=Param#Anchor"

I have a solution i dont like :
i can replace #Anchor by &Anchor=Anchor

Does someone has an other idea ?

Thanks

Jul 19 '05 #2
Looks like i have no choice.

Thanks for the answer

"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> a écrit dans le message de
news:en**************@tk2msftngp13.phx.gbl...
http://www.aspfaq.com/2070


"Peroq" <fr*****@yahoo.com> wrote in message
news:3f**********************@nan-newsreader-01.noos.net...
Hi all,

All of these fail :
response.redirect("page.asp?Param=Param#Anchor")
response.redirect("page.asp#Anchor?Param=Param")

This one works fine :
location.href = "page.asp?Param=Param#Anchor"

I have a solution i dont like :
i can replace #Anchor by &Anchor=Anchor

Does someone has an other idea ?

Thanks


Jul 19 '05 #3
Gazing into my crystal ball I observed "Peroq" <fr*****@yahoo.com> writing
in news:3f**********************@nan-newsreader-01.noos.net:
Looks like i have no choice.

Thanks for the answer
response.redirect "nameofpage.asp?param=" & param & "#anchor"

That's odd... I don't have a problem with:
http://66.117.11.37/contact.asp?
required=propername&propername=&email=&comment=#pr opername


"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> a écrit dans le message de
news:en**************@tk2msftngp13.phx.gbl...
http://www.aspfaq.com/2070


"Peroq" <fr*****@yahoo.com> wrote in message
news:3f**********************@nan-newsreader-01.noos.net...
> Hi all,
>
> All of these fail :
> response.redirect("page.asp?Param=Param#Anchor")
> response.redirect("page.asp#Anchor?Param=Param")
>
> This one works fine :
> location.href = "page.asp?Param=Param#Anchor"
>
> I have a solution i dont like :
> i can replace #Anchor by &Anchor=Anchor
>
> Does someone has an other idea ?
>
> Thanks
>
>




--
Adrienne Boswell
Please respond to the group so others can share
http://www.arbpen.com
Jul 19 '05 #4
I used to do like you.
It worked for me some times, and didn't work some other times.
I think you'll get the same problem one day or an other.

"Adrienne" <ar********@sbcglobal.net> a écrit dans le message de
news:Xn****************************@207.115.63.158 ...
Gazing into my crystal ball I observed "Peroq" <fr*****@yahoo.com> writing
in news:3f**********************@nan-newsreader-01.noos.net:
Looks like i have no choice.

Thanks for the answer


response.redirect "nameofpage.asp?param=" & param & "#anchor"

That's odd... I don't have a problem with:
http://66.117.11.37/contact.asp?
required=propername&propername=&email=&comment=#pr opername


"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> a écrit dans le message de news:en**************@tk2msftngp13.phx.gbl...
http://www.aspfaq.com/2070


"Peroq" <fr*****@yahoo.com> wrote in message
news:3f**********************@nan-newsreader-01.noos.net...
> Hi all,
>
> All of these fail :
> response.redirect("page.asp?Param=Param#Anchor")
> response.redirect("page.asp#Anchor?Param=Param")
>
> This one works fine :
> location.href = "page.asp?Param=Param#Anchor"
>
> I have a solution i dont like :
> i can replace #Anchor by &Anchor=Anchor
>
> Does someone has an other idea ?
>
> Thanks
>
>



--
Adrienne Boswell
Please respond to the group so others can share
http://www.arbpen.com

Jul 19 '05 #5
Gazing into my crystal ball I observed "Peroq" <fr*****@yahoo.com>
writing in news:3f***********************@nan-newsreader-03.noos.net:
I used to do like you.
It worked for me some times, and didn't work some other times.
I think you'll get the same problem one day or an other.
I really doubt it, unless it's a really old browser that doesn't understand
the id attribute, or if the markup is really bad. If the markup is valid,
a browser should not have any problems. Even NS 4.7 understands and jumps
directly to the id.

"Adrienne" <ar********@sbcglobal.net> a écrit dans le message de
news:Xn****************************@207.115.63.158 ...
Gazing into my crystal ball I observed "Peroq" <fr*****@yahoo.com>
writing in news:3f**********************@nan-newsreader-01.noos.net:
> Looks like i have no choice.
>
> Thanks for the answer


response.redirect "nameofpage.asp?param=" & param & "#anchor"

That's odd... I don't have a problem with:
http://66.117.11.37/contact.asp?
required=propername&propername=&email=&comment=#pr opername

>
> "Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> a écrit dans le
> message de news:en**************@tk2msftngp13.phx.gbl...
>> http://www.aspfaq.com/2070
>>
>>
>>
>>
>> "Peroq" <fr*****@yahoo.com> wrote in message
>> news:3f**********************@nan-newsreader-01.noos.net...
>> > Hi all,
>> >
>> > All of these fail :
>> > response.redirect("page.asp?Param=Param#Anchor")
>> > response.redirect("page.asp#Anchor?Param=Param")
>> >
>> > This one works fine :
>> > location.href = "page.asp?Param=Param#Anchor"
>> >
>> > I have a solution i dont like :
>> > i can replace #Anchor by &Anchor=Anchor
>> >
>> > Does someone has an other idea ?
>> >
>> > Thanks
>> >
>> >
>>
>>
>
>


--
Adrienne Boswell
Please respond to the group so others can share http://www.arbpen.com



--
Adrienne Boswell
Please respond to the group so others can share
http://www.arbpen.com
Jul 19 '05 #6

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

Similar topics

3
by: Paul | last post by:
I'm not getting the results I want when I use Response.Redirct in a ASP page. I enter this line of code in a asp page from domain1.com. Response.Redirect...
3
by: Robert Mark Bram | last post by:
Hi All! Let's say I have a form like this: <form action="handler.asp"> ... </form> Within handler.asp, I output a number of named anchors: <a name="important1">Important 1</a> ... <a...
4
by: deko | last post by:
I use named anchors to take users to specific parts of a long page. But I want to add some processing and do some things with my nav bar when users go to certain sections delineated by named...
1
by: itgMan | last post by:
hi all, i have recieved this error from a page that was running so fine for about 1 year, and this is the first time this occurs , can anybody help me to know the reason .. the error is :...
3
by: Trevor Braun | last post by:
Hi all. I'm really stuck here, and would greatly appreciate any help or suggestions. I'm trying to (from the server side) submit the page that is loading to a new window, then redirect to...
5
by: venner | last post by:
I'm having an issue with an ASP.NET website after upgrading to ASP.NET 2.0. The website makes use of a central authentication service (CAS) provided at the university I work for. Each page checks...
4
by: mike.biang | last post by:
I have an ASP page that is using an XMLHTTP object to request various pages from my server. I keep a single session throughout the XMLHTTP requests by bassing the ASPSESSIONID cookie through the...
1
by: Alec MacLean | last post by:
Hi. I'm using VS2005 Pro to work on a website project for my company. The site has several navigation elements, all based on the standard VS2005 navigation components. I have high-level...
9
by: RN1 | last post by:
When a server encounters the line Response.Redirect("abcd.asp") in a ASP script, the server tells the browser that it has to be redirected to another page (which is abcd.asp, in this case)....
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
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
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...
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
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.