Set Session State in MVC to be longer

61
Views
1
Answers

How to set Session State to be longer in MVC application?

edit | flag
William Patrick
Asked on: Jun 16, 2011 at 9:55PM

1 Answers

24
4
24

In your web.config try this..

system.web>
    authentication mode
="Forms">
          forms timeout
="50"/>
   
/authentication>

    sessionState timeout
="60"  />
/system.web>
edit | flag
Gokul A
Answered on: Jun 16, 2011 at 9:56PM

Post your Answer

Search

Welcome to Ask Amoeba!
This is 100% free and interactive site for sharing professional Questions and Answers, Opensource projects, Interview questions.
Learners, beginners, Experts stop and share your knowledge and ideas!

Browse Categories

Browse Tags