首页 [ 学教实践 ] NSession源码
一键分享

NSession源码

  • 免费

2011-11-02 10:34:43

  • 源码类型: B/S
  • 开发环境: VS2010 + 无数据库
  • 开发语言: C#
  • 标签: asp.net Session asp Classic
  • 评分:
收藏 140 次|关注 2746 次|下载 87 次

免费


交付物: 源码包
    商家已实名认证
  • 分享者:liche***
  • 访问次数:   1212 次
  • 源码数量:   1 套
  • 通过比率:   100%
  • 活跃于:   三个月前
  • 微信扫码咨询
.net
  • 51Aspx源码必读 .txt[3KB]
  • from.gif[4KB]
  • lib.zip[32KB]
  • Nsession.sln[5KB]
  • 最新Asp.Net源码下载.url[123B]

源码介绍

源码参数

  • 源码类别:【学教实践】
  • 源码类型:B/S
  • 适合人群: 高手研究
  • 授权类型:免费版
  • 开发语言:C#
  • 数据库:无数据库
  • 源码大小:101KB
  • 相关网址: 【免费浏览】
  • 源码指数:
  • 完整度:
  • 保存session
  • 保存session
  • Aspx.Query.CodeImageQueryModel

NSession源码


运行环境:ASP Classic
技术特点:用.NET 4.0和VC 开发的COM object.
功能描述:让ASP Classic程序使用ASP.NET Session Store的数据
注意事项:注册程序需要的组件,打开系统的ASP.NET State Service服务,需要.net framework 4.0

安装方法:
There are 2 DLLs to register.

The first dll NSession.dll is a .net framework 4.0 dll and it is independent of 32 or 64 bit environment. Since it is accessed by ASP Classic, it needs to be registered as a COM object using RegAsm. It also needs to be place in global assembly cache using gacutil. The NSession.dll is a .NET framework 4 dll. You need .NET framework 4 on the machine but you can run any version of ASP.NET as the DLL is not loaded into the same AppDomain as the ASP.NET application.

The second dll NSessionNative.dll is a C++ dll and is platform dependent. You need to register the appropriate version depending on whether you are running the 32 or 64 bit application pool. The reason that we need a C++ dll is that we need deterministic finalization to serialize the session at the end of page request. We chose C++ over VB6 because it can create both 32 bit and 64 bit COM objects.


1 注册NSession.dll方法
http://msdn.microsoft.com/en-us/library/tzat5yw6.aspx
2 使用Regsvr32命令注册 NSessionNative.dll


更多源码详细请访问
http://nsession.codeplex.com
http://weblogs.asp.net/lichen/archive/2011/10/30/sharing-session-between-asp-classic-and-asp-net-using-asp-net-session-state-server.aspx
寻找安装步骤。

责任编辑:wangxiaodong

下载记录(Only Recent 100)

用户名 推荐指数 下载时间

源码评论

单击更换

评论列表

全部评论
  • 暂无评论 …

最近更新

      下载排行