Web Config - Extending Session

Discussion in 'ASP.NET / ASP.NET Core' started by msword, Jan 21, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I tried to create a support ticket for discount asp, but they said to come here. I'm trying to extend the SessionState of the Web config file.
    I added the following to my local environment and it worked fine
    <system.web>
    <sessionState
    mode="InProc"
    cookieless="false"
    timeout="60"
    />
    </system.web>
    When I uploaded the config file to the server i got an unrecognized element error.
    Has anybody had to implement this change?

    thanks
    Matt
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    This look correct to me.

    post the URL, i'd like to see the error.

    quote:Originally posted by msword

    I tried to create a support ticket for discount asp, but they said to come here. I'm trying to extend the SessionState of the Web config file.
    I added the following to my local environment and it worked fine
    <system.web>
    <sessionState
    mode="InProc"
    cookieless="false"
    timeout="60"
    />
    </system.web>
    When I uploaded the config file to the server i got an unrecognized element error.
    Has anybody had to implement this change?

    thanks
    Matt
    </blockquote id="quote"></font id="quote">
     
  3. I'll take a screen shot of it tonight and post the url. I have a demo and i dont want to break it.
     
  4. I dont know how it's working, but I did this.
    <sessionState mode="InProc" cookieless="false" timeout="900" /> same thing[?]
     
  5. I have never been able to get the sessionState element to work when it's broken up like that, for some reason it likes everything on one line. Maybe it sees a CR of LF???

    Michelle Boyer
     
  6. I think that it's case sensitive isn't it? make sure about about that
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page