如果在一个B/S结构的系统中需要传递变量值,不能使用Session、Cookie、Application有几种方法进行处理?
来源:百度知道 编辑:UC知道 时间:2024/07/02 12:38:22
有三种方法
1.QueryString
例: default.aspx?id=1
2.FormsAuthentication
例:配置文件添加结点,利用FormsAuthentication 读取
3.this.Server.Transfer
服务器重定向
可以用 GET 或 POST 方式