App restarts, session disappears...

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default App restarts, session disappears...

    Hi,

    I'm using a custom-made base class for all pages of a
    site. However, when I make changes to that class and
    replace the dll on the (web)server, the application often
    restarts when a page is requested. When I request the page
    a second time it usually goes well. This is quite a
    burden, because every time a change to the base class is
    made, I need to request all pages myself in order to make
    everything working again.

    An other anoying thing is that session data seems to get
    lost when a page is changed and needs to be recompiled. Is
    this normal? I tought that the asp.net worker process
    would detect if a page was changed, recompiles it and
    executes it. How can this operation cause to lose session
    state? I always get the following stack trace:

    at AdiosAdmin.AdminPage.Page_Init(Object sender, EventArgs
    e) at System.Web.UI.Control.OnInit(EventArgs e) at
    System.Web.UI.Control.InitRecursive(Control
    namingContainer) at System.Web.UI.Page.ProcessRequestMain()

    Any help would be appreciated, thanks a lot in advance.

    Domien
    Domien Holthof Guest

  2. Similar Questions and Discussions

    1. Restarts
      In system, advanced tab, turn off reboot on error. This will allow you to see the error and take corrective action. Also look in the event log when...
    2. Restarts after 8 minutes !?!?
      :evil; I simply don't understand WHAT is going on here... I have a flash template I'm getting designed by a professional. When I run my preview...
    3. win2003 restarts when i shut it
      When i shutdown win2003 it restarts again but in the second time it shuts. Thanks
    4. Windows Restarts
      Hi, Firstly thank you for reading my problem, I greatly appreciate your time. I am having a hardware/os related problem. Whenever I start to...
    5. Application Restarts
      Hello All, I'm facing a peculiar problem with the web application that we have developed. Whenever a small change has been done in an ASPX...
  3. #2

    Default Re: App restarts, session disappears...

    This appears to be correct. Changes to these files will cause the app to
    restart. When the app does so, your original session is closed and a new one
    started.

    "Domien Holthof" <domxh@yahoo.com> wrote in message
    news:0a7d01c33af5$a91cc7a0$a101280a@phx.gbl...
    > Hi,
    >
    > I'm using a custom-made base class for all pages of a
    > site. However, when I make changes to that class and
    > replace the dll on the (web)server, the application often
    > restarts when a page is requested. When I request the page
    > a second time it usually goes well. This is quite a
    > burden, because every time a change to the base class is
    > made, I need to request all pages myself in order to make
    > everything working again.
    >
    > An other anoying thing is that session data seems to get
    > lost when a page is changed and needs to be recompiled. Is
    > this normal? I tought that the asp.net worker process
    > would detect if a page was changed, recompiles it and
    > executes it. How can this operation cause to lose session
    > state? I always get the following stack trace:
    >
    > at AdiosAdmin.AdminPage.Page_Init(Object sender, EventArgs
    > e) at System.Web.UI.Control.OnInit(EventArgs e) at
    > System.Web.UI.Control.InitRecursive(Control
    > namingContainer) at System.Web.UI.Page.ProcessRequestMain()
    >
    > Any help would be appreciated, thanks a lot in advance.
    >
    > Domien

    Alvin Bruney Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139