locked
SessionID return null in postback event RRS feed

  • Question

  • User-150770710 posted

    Hi

    May I know in what condition Session.SessionID return null at Page.Button_Click event? Even though session expired, sessionID should return something right?

    Please advice. Thank you

    Friday, May 27, 2011 12:09 AM

Answers

All replies

  • User-1364446067 posted

    Hi..

    May be your application is restarting due to some thing happend.

    Also check if regenerateExpiredSessionId is set to false in your web.config.

    This might be of some help too: http://msdn.microsoft.com/en-us/library/ms178581.aspx

    --

    Hope this helps..

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, May 27, 2011 1:32 AM
  • User493162266 posted

    Please can post your code so we can have clarity in giving answere..........

    with that error............

    Friday, May 27, 2011 4:06 AM