Why is HttpContext.Current.Application used in the Chat sample?

26 views
Skip to first unread message

johan

unread,
Jul 11, 2011, 4:22:56 PM7/11/11
to WebSharper
Hi!

Ok, so here is one thing that I do not understand. In the 'Chat'
sample on websharper.com, why does the application use
HttpContext.Current.Application? It appears to me that all top-level
"let's" are global accross sessions, and also a top level let is used
to access the Lock. So why store some things in
HttpContext.Current.Application??

Please shed some light over this! :)

Thanks!

J

Anton Tayanovskyy

unread,
Jul 12, 2011, 1:17:31 PM7/12/11
to websh...@googlegroups.com
Hi,

I do not think there is any reason. Thanks for pointing it out.

Anton

--
Kind Regards,
Anton Tayanovskyy

WebSharper™ - type-safe JavaScript in F#
http://intellifactory.com

Reply all
Reply to author
Forward
0 new messages