[thelist] ASP String Concatenation vs. Response.Write

Warden, Matt mwarden at odyssey-design.com
Mon Feb 26 16:35:52 CST 2001


> > Application.Lock
> > strOut = trim(Application("page1"))
> > Application.Unlock
>
> You should probably avoid locking the Application object when you're only
> reading from it. Locking it won't help you the least bit, but it'll, at
> least in theory, slow down your application.

I've seen that in others' code and wondered why myself. I assumed it was to
avoid PageA reading at the exact time PageB was updating.



--
mattwarden
mattwarden.com





More information about the thelist mailing list