Application is thread-safe. The minute speed increase you get from using
static variables doesn't mean much when you have to lock all access to them.
If your data is readonly, you can use static variables (since you don't care
if 2 users read at the same time)...or a constant if you know the data at
design time...but I tend to prefer configuration values even for this...
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"Ganesan selvaraj" <Ganesan
se******@discussions.microsoft.com> wrote in
message news:DA**********************************@microsof t.com...
diff between Application object and static variable in asp .net. I can
access both the objects in my web page.
I will be grateful if some one can help me understand the difference.
Regards
Ganesan