June 2009 - Posts

3
Comments

Getting number of active sessions (online users counter) with ASP.NET by stoian bucovich

All that have to be done is in global.asax file: Sub Application_Start( ByVal sender As Object , ByVal e As EventArgs) Application( "OnlineUsers" ) = 0 End Sub Sub Application_End( ByVal sender As Object , ByVal e As EventArgs) End Sub Sub Application_Error...
0
Comments

Datetime interval checker - ASP.NET, VB.NET by stoian bucovich

Its simple snap of code that i think that could be useful. Hope it will help you someway. Dim upperDate As Date = "#30/6/" & DateTime.Now.Year & "#" Dim lowerDate As Date = "#1/6/" & DateTime.Now.Year & "#" If Not (Date.Compare(Date.Today...
More Posts