Recent AWS Customer Success Stories & Videos

More AWS Customer Success Stories...

« 896 GPU cores per instance: Now available in Ireland and VPC | Main | Amazon RDS News - Oracle Data Pump »


TrackBack URL for this entry:

Listed below are links to weblogs that reference Managing ASP.Net Session State With DynamoDB:


Feed You can follow this conversation by subscribing to the comment feed for this post.

Ameer Deen

SessionStateProvide and on Nuget, nice. Some readers might be interested in how some of this works. Thank you for publishing work on your Github repo :)

Frederik Vig

What does it do with old session state entries?

Jeff Barr


IIS will call the session provider to delete sessions as they expired or are abandoned. In cases where IIS is restarted or an EC2 instance is shut down before telling the session provider to delete all of its session there is the utility method Amazon.SessionProvider.DynamoDBSessionStateStore. DeleteExpiredSessions() that you can call that will perform a scan on the table and do a delete on any expired sessions.


Very useful as it is eliminating SPOF of any other models of session state handlings. Thanks


I get the following error when trying to use the methodology described above :

Amazon DynamoDB Exception: Item size to update has exceeded the maximum allowed size of 65536

Any ideas ?

The comments to this entry are closed.

Featured Events

The AWS Report

Brought to You By

Jeff Barr (@jeffbarr):

Jinesh Varia (@jinman):

Email Subscription

Enter your email address:

Delivered by FeedBurner

April 2014

Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30