趋势
点击量
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 [...]

8
 
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
Win2K
Javascript
.NET2.0
VC6
HTML
MFC
C#2.0
Architect
Advanced
第三方产品
VS2005
.NET1.1
VB
移动开发
VS.NET2003
产品展示
Win2003
Design
Wiki.ASP.NET articles
C#3.0
Mobile
企业系统
.NET3.5
开发生命周期
平台,框架&库
Ajax
.NET1.0
.NET Framework
VC7
XML
WebForms
VS2013
ASP.NET 控件
Android
.NET3.0
云计算
Vista
常规阅读
Ajax
最新评分
无内容,请浏览其它分类
十佳
点击量
 
1
XP Style Navigation Bar Server Control with collection property and embedded resources
 
2
XYDataGrid
 
3
Android Recycler View with Spinner Item Change Selection and Update UI
 
4
Bootstrap Persian DateTimePicker
 
5
Enhanced BrowseForFolder styled TreeView
 
6
Making an Audio Spectrum analyzer with Bass.dll, C# and Arduino – Part 2.
 
7
DayPilot Scheduler Control for ASP.NET
 
8
Using the FlowLayoutPanel and Reordering with Drag and Drop
 
9
Managed ListView
 
10
QUIZ Application With ASP.NET MVC 5
周最高分
无内容,请浏览其它分类
十佳
点击量
 
1
XP Style Navigation Bar Server Control with collection property and embedded resources
 
2
XYDataGrid
 
3
Android Recycler View with Spinner Item Change Selection and Update UI
 
4
Bootstrap Persian DateTimePicker
 
5
Enhanced BrowseForFolder styled TreeView