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

M

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
 
B

Bob Barrows [MVP]

Me said:
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.
 
M

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top