将查询字符串作为会话传递给另一个页面 [英] Passing a query string as a session to another page
本文介绍了将查询字符串作为会话传递给另一个页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何将查询字符串作为会话传递给另一个页面
How Can I pass a query string as a session to another page
推荐答案
查询字符串和会话是两种不同的状态管理技术:
使用QueryString在页面之间传递变量 [ MSDN:ASP.NET会话状态概述 [ MSDN:ASP.NET状态管理概述 [
Query Strings and Sessions are two different state management techniques:
Passing variables between pages using QueryString[^]
MSDN: ASP.NET Session State Overview[^]
MSDN: ASP.NET State Management Overview[^]
Since you have not shared in detail on what you are trying, please go through the articles above to understand the difference between them and when, how to use them.
In short, query strings are passed through URL to other page where as Sessions are stored in memory or database accessible on all the pages for a particular user.
这篇关于将查询字符串作为会话传递给另一个页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文