No need.  Since it is only getting called when the application starts.

Also, since these are already application settings, why even bother
setting as app vars?  Just call
ConfigurationSettings.AppSettings.Get("ConnectionString"); directly
(should only be used in a data access class), or if you want to cut
down on your typing, create an appconfig class that has these values
as static members.

On 6/5/05, Ryan Olshan <[EMAIL PROTECTED]> wrote:
> Quick question.
>  Should I be using Application.Lock()/Application.Unlock() for:
> 
> protected void Application_Start(Object sender, EventArgs e)
> 
> {
> 
> Application["conn"] = ConfigurationSettings.AppSettings.Get
> ("ConnectionString");
> 
> Application["Title"] = ConfigurationSettings.AppSettings.Get("Title");
> 
> }
> 
> --
> Thank you,
> Ryan Olshan
> TeraNet Systems
> http://www.teranetsystems.com
> 
> 
> [Non-text portions of this message have been removed]
> 
> 
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 


-- 
Dean Fiala
Very Practical Software, Inc
http://www.vpsw.com


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to