如何通过重定向到目标页面来传递一些var [英] How to deliver some var with redirect to the target page

查看:91
本文介绍了如何通过重定向到目标页面来传递一些var的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从一个页面重定向到另一个页面。但我需要将源页面中的一些变量传递到目标页面以供其使用。我如何能做到这一点与ASP代码

解决方案
您可以使用查询字符串,如果数据很小,不敏感。



有关如何传递和使用查询字符串的详细信息,请查看此处:

使用QueryString在页面之间传递变量 [ ^ ]

另一个描述相同的链接 [ ^ ]

I want to redirect from a page to another. But I need some variables from the source page to be delivered to the target page in order to be used by it. How can I do that with asp code.

解决方案

You can use QueryStrings if the data is small and not sensitive.

For details of how to pass and use query strings, look here:
Passing variables between pages using QueryString[^]
Another link describing the same[^]


这篇关于如何通过重定向到目标页面来传递一些var的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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