Forum Moderators: open

Message Too Old, No Replies

ASP Querystrings AND Anchors...

Need some MORE help please!!!

         

Eric_Lander

3:22 pm on Nov 2, 2001 (gmt 0)

10+ Year Member



I have form data, being passed through a querystring. However, the document it gets passed to, should start off at a particular anchor. Past attempts to transfer the querystring and the #anchor itself have been troublesome.

Does anyone have experience with this or some pointers?

Thanks in advance if so.

~ Eric

joshie76

3:29 pm on Nov 2, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Should work fine provided you keep things in this order

file.htm?name1=val1&name2=val2#anchor

Will

6:09 pm on Nov 2, 2001 (gmt 0)



Encode the querystring variables using unicode before submitting the form.

Using server.urlencode("#") will give you the correct result.