Hi,
I have a problem and I haven't found a good solution yet...
I'm using Url rewriting for my message board so it's more readable to have
something like mysite.com/1040/message.aspx instead of
mysite.com/message.aspx?id=1040
When a user posts a message, I use Response.Redirect to redirect him to its
message. It goes like that:
Response.redirect("message.aspx#last");
The thing is that when it comes to url rewriting, the # is translated in %23.
How can I add a inner link using url rewriting? Is it possible?
Thanks!
Steph
Srim - 19 Oct 2005 05:13 GMT
try
Response.redirect("mysite.com/1040/message.aspx");
Stephane - 19 Oct 2005 13:16 GMT
It works but I still can't add the inner link:
Response.redirect("mysite.com/1040/message.aspx#last");
It's still converted like:
Response.redirect("mysite.com/1040/message.aspx%23last");
Any other idea?
Steph
> try
> Response.redirect("mysite.com/1040/message.aspx");
Stephane - 20 Oct 2005 16:07 GMT
I found the solution:
Simply add a "&" before the "#".
Response.redirect("message.aspx&#last");
Steph
> Hi,
>
[quoted text clipped - 16 lines]
>
> Steph