简体   繁体   中英

passing parameters in url to another page

I am going to create two pages.

The first page will be www.rentzamm.com?adv=1256&loc=768 ...On this page I am going to have a link which takes you to www.rentzamm.com/result.asp ..... Now when i press the link from page 1 I want the link of page 2 to be like this: www.rentzamm.com/result.asp?adv=1256&loc=768 ... is this possible please?

One option is to use hidden variables.

and construct the url for the onclick event of anchor tag. But please dont pass sensitive information like this since the request can be modified..

Pkv

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM