sessionState issue

Last post 12-27-2007 4:35 PM by abombss. 2 replies.

Sort Posts:

  • sessionState issue

    12-27-2007, 3:28 AM

    I do have a bad habit. When starting a new Web Application, the first thing I do, add/change the followings in the web.config file:
     

    <sessionState mode="Off"/>
     
    <pages enableViewState="false" enableSessionState="false">
     
    But the new MVC framework seemd very much depended upon the session. You can't even run it disabling the session.
    Any thoughts?
    Long Live .NET
    Kazi Manzur Rashid (Amit)
    _________________________
    http://weblogs.asp.net/rashid/
  • Re: sessionState issue

    12-27-2007, 8:33 AM
    • Loading...
    • ChadThiele
    • Joined on 04-27-2003, 2:43 AM
    • Japan
    • Posts 263

     Excellent question, I too tried this...

    Did I answer your question(s)? Phweew...
  • Re: sessionState issue

    12-27-2007, 4:35 PM
    • Loading...
    • abombss
    • Joined on 06-27-2006, 12:13 PM
    • Chicago, IL
    • Posts 164

     The TempData relies on session and so do some of the other helpers.  I agree, you should be able to run without SessionState if you want to.  Make sure Phil & Friends know about this one.

    Adam Tybor -- abombss.com
Page 1 of 1 (3 items)