469,611 Members | 1,701 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,611 developers. It's quick & easy.

Response.redirect "mypage.asp?name=" & name

Me
I am passing on the input name to my asp page using
Response.redirect "mypage.asp?name=" & name
and the resulting url looks like
'companyname/mypage.asp?name=" & name

I would like it to appear like 'companyname' or at most
'companyname/mypage.asp'

how can I do it?

Thank you,
-Me

Sep 19 '06 #1
2 1803
Me wrote:
I am passing on the input name to my asp page using
Response.redirect "mypage.asp?name=" & name
and the resulting url looks like
'companyname/mypage.asp?name=" & name

I would like it to appear like 'companyname' or at most
'companyname/mypage.asp'

how can I do it?
We already answered this question in the other group. You cannot strip the
querystring from the url without redirecting to a page without a
querystring.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Sep 20 '06 #2
Me
Bob,

Thanks for the reply! after I sent the previous question, I realized that I
was
using the redirect instead of href, that's why I decided to send this one as
well.

Appreciate your help!
-Me
"Bob Barrows [MVP]" wrote:
Me wrote:
I am passing on the input name to my asp page using
Response.redirect "mypage.asp?name=" & name
and the resulting url looks like
'companyname/mypage.asp?name=" & name

I would like it to appear like 'companyname' or at most
'companyname/mypage.asp'

how can I do it?
We already answered this question in the other group. You cannot strip the
querystring from the url without redirecting to a page without a
querystring.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Sep 20 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Java script Dude | last post: by
13 posts views Thread by dhughey | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.