趋势
点击量
Session State
最近
 
Read More
2018年1月24日

The Defibrillator: Keeping ASP.NET Session Alive Ad Infinitum

Introduction to the Defibrillator

Sometimes you want to keep a session alive only as long as the user is on the site, or until they close their browser. You don’t have security requirements in this situation that would make this a bad idea. You just want to keep the session timeout down, but let it persist as long as people are on your site (not just posting back to the server). [...]

8
 
Read More
2018年1月24日

Improve performace with Sessions using Cache

Download source files – 3.88 Kb Introduction

This is a very short article to help people who use SQL Sessions. As everybody knows, storing Sessions on your SQL Server is a great idea, however is also a performance nightmare. If you are using Sessions as much as I do, your SQL Server is just a little too busy retrieving Sessions here and there. So let me show you what I do in [...]

7
 
Read More
2018年1月24日

How to Deal with those pesky Session Objects between page redirects!

Download source files – 13.9 Kb Introduction

UPDATED!!! (This article is a re-write of a less descriptive earlier version) One of the most prevalent problems in dealing with web applications is the management of session variables. You put one out there for a page and the next thing you know is it gets lost in the ever increasing maze of web pages and variables. Some time later [...]

6
 
Read More
2018年1月24日

Retrieve All Active Sessions Data

Download source code – 13.2 KB Introduction

As far as I know, in ASP.NET, we do not have a predefined class library to find out all the active session IDs and their data. This article helps you list all the active session keys using a simple logic.

Background

This code can be used to track the active sessions of an application.

Using the code

This simple application [...]

6
 
Read More
2018年1月24日

ObjectContainer – A simple way to demarcate SessionState between pages

Download source code .NET 2.0 – 0.7 KB Download source code .NET 2.0 (+ example) – 18.3 KB Download source code .NET 1.1 (+ example) – 20.1 KB Introduction

I once developed a new Web Application, and the problem of storing some page-related data was raised. These were the main problems:

Can’t save data to the database. My objects can be changed, and changes [...]
9
分类热度
Dev
C#
Intermediate
Windows
.NET
Visual-Studio
Web开发
桌面开发
ASP.NET
Beginner
WinXP
Javascript
Win2K
.NET2.0
HTML
VC6
MFC
C#2.0
Architect
Advanced
第三方产品
VS2005
移动开发
.NET1.1
VB
VS.NET2003
产品展示
Design
Wiki.ASP.NET articles
Mobile
Win2003
C#3.0
企业系统
开发生命周期
.NET3.5
平台,框架&库
Ajax
.NET1.0
XML
.NET Framework
VC7
WebForms
ASP.NET 控件
Android
VS2013
.NET3.0
常规阅读
Ajax
Vista
Android
最新评分
无内容,请浏览其它分类
十佳
点击量
 
1
XP Style Navigation Bar Server Control with collection property and embedded resources
 
2
Android Recycler View with Spinner Item Change Selection and Update UI
 
3
Bootstrap Persian DateTimePicker
 
4
Copy/Paste For Databound Objects
 
5
A Transparent menu synchronizing system
 
6
Create Visio Add-on VSL project with Toolbar, Menu and Command Handler
 
7
ListView in-line editing
 
8
Getting a CF_DIB or CF_METAFILEPICT from the clipboard and displaying it
 
9
The Drag and Drop interface samples
 
10
Extended Interface for Toolbars
周最高分
无内容,请浏览其它分类
十佳
点击量
 
1
XP Style Navigation Bar Server Control with collection property and embedded resources
 
2
Android Recycler View with Spinner Item Change Selection and Update UI
 
3
Bootstrap Persian DateTimePicker
 
4
Copy/Paste For Databound Objects
 
5
A Transparent menu synchronizing system