关于查询字符串 [英] Regarding querystring

查看:74
本文介绍了关于查询字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何传递带有定位标记的静态查询字符串并在其他页面中检索它.

我有具有不同选项的锚标签,例如公司,房屋等.
我想用查询字符串将其传递到其他页面.

在主页中,我有一个用于用户类型的链接,根据用户的类型,它将被重定向到受尊重的页面,例如,如果用户是公司,则它将被重定向到companyregistration.aspx,其中我正在检查其类型,因此我需要查询字符串...

How can i pass a static query string with anchor tag and retrieve it in other page.

I have anchor tag with different option like company,home etc.
and i want to pass it to other page with query string.

in home page i have a link for type of user and according to the type of user it will be redirected to respected page e.g if user is company then it will be redirected to companyregistration.aspx where im checking about his type so i need the query string...

推荐答案

为什么需要通过查询字符串将锚标记从一页传递到另一页?这不是在查询字符串中传递此类数据的好选择因为用户可以看到您正在传递的数据,并且还具有其他限制.您的确切要求是什么?
Why you need to pass an anchor tag from one page to another via querystring?Its not a good option passing this type of data in query string because a user can see the data you are passing and also its having other limitations.Whats your exact requirement?


这篇关于关于查询字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆