⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aspsessionstate.sql

📁 asp.net和asp如何通用一个Session
💻 SQL
字号:
/*
This query creates the ASPSessionState table used to temporarily hold
Session State information for use when switching between ASP "Classic" and 
ASP.NET. The index below is optional and not recommended on small scale 
applications/systems.
*/
CREATE TABLE ASPSessionState
(
	GUID CHAR(38),			-- The Globally unique identifier
	SessionKey VARCHAR(254),	-- The Session value's "name"
	SessionValue VARCHAR(254)	-- The Session data
)
GO

/*
Optional Index for the ASPSessionState table, unless there will be frequent 
switching from Classic to .NET , this is not needed. 

Since the data is cleaned up after each use, searching for the correct 
GUID in a non-enterprise application should generally be fast 
without an index.
*/
CREATE NONCLUSTERED INDEX idxSessionStateGUID
ON ASPSessionState
(
	GUID
)
GO

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -