Re: static class confirmation

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,

"scott blood" <scott_blood@xxxxxxxxxxx> wrote in message
news:uzqabWCSGHA.6084@xxxxxxxxxxxxxxxxxxxxxxx
I think your right there, i just tried this on one of our IIS servers and
the same behaviour appeared.

Beware of this kind of tests, you can get just circumstantials results.

I think because the connection string is not changing asp.net is
intellegent enough not to need to recreate the class for multiple users.

Not at all ! it has nothing to do with "I guess" it has all to do with the
way static are created.

If you actually change the ConnectionString property and then push this
out to your live server, all users on your server will actually be forced
to refresh there current session and all there Session variables are
cleared.

No really, well it does has that effect but not for that reason. When you
change either your web.config or any dll (or even any file) inside your bin
directory the app is recycled. This has the consequence that all the
sessions are lost.



--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation


.



Relevant Pages

  • Re: Question about retained values
    ... custom created database property). ... on if your database is single or multiple users. ... is the databse split into a front end mdb ... must be retained from one session to the next. ...
    (microsoft.public.access.reports)
  • Re: Interactive user name?
    ... Your second suggestion, using a Winlogon Notification Package, will not work ... user's session will work for us. ... I'm surprized that Microsoft has added the ability to have multiple users ... stale or orphaned interactive logon sessions of already logged ...
    (microsoft.public.win32.programmer.networks)
  • Re: Interactive Services related to desktop
    ... We have a dll which exports function. ... from the service present in the dll; and the ShowDialog function ... We are not sure how to change the Thread Session ID to current Sesson ... >> The problem from this is that if there are multiple users, ...
    (microsoft.public.platformsdk.security)
  • USB mount with multiple users broken (hal and consolekit)
    ... I'm having trouble with automounting of removable devices, ... when I do this repeatedly with multiple users ... Sometimes it's the UID ... know about the active session, but apparently it still does not work. ...
    (Debian-User)
  • Recycled Application Pool
    ... We have an ASP.NET application running on a Live server and we have had some ... problems with the Application pool beeing recycled due to heavy load on the ... I need the session variabled to make passing varibles between ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)