472,095 Members | 2,514 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,095 software developers and data experts.

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 1980
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 leo001 | last post: by

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.