Solved

set sessionstate timeout in code at runtime

Posted on 2008-10-16
1
223 Views
Last Modified: 2012-05-05
I have code that runs on a site that will logout a user if they are inactive for a period of time. that time period is set by an admin in the web app. now I have code that can write to the web.config file to adjust the custom timeout field but I cant seem to find a way to write to the sessionsate section of the web.config file.

0
Comment
Question by:stiuser
1 Comment
 

Accepted Solution

by:
stiuser earned 0 total points
ID: 22741028
i found my own answer in xml thx

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If I have to fix slow responding website my first thoughts are server side optimizations: the database may not be optimized or caching is not enabled, or things like that. We often overlook another major part of our web application: the client. We o…
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now