Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: asp tags ?


Message #1 by "ramliabdel" <ramliabdel@y...> on Thu, 18 Jan 2001 07:18:53 +0100
I've got some codes, in the global.asa and in a web pag, that I would like

to make work.

The question is very basic as I just would like to know how I should include

these codes within my asp page and HTML content

What tags to use ? and where to put them .

Thanx



Here are the codes



Application.Lock ( );

Application ( 'PagesToday' )++;

Application ( 'HeadersViewed' )++;

Application.Unlock ( );



// display the data

var nUsers = Application ( 'ActiveUsers' ) - 0;

var nUsersToday = Application ( 'UsersToday' ) - 0;

var nPagesToday = Application ( 'PagesToday' ) - 0;

var bRebootToday = Application ( 'NewToday' ) - 0;





nUsers + ' actif' + ( (nUsers==1) ? '!' : 's' ) + '<br>

Response.Write ( nUsersToday + ' visiteur' + ( (nUsersToday==1) ? '' : 's' )

+ ' ce jour<br>

Response.Write ( nPagesToday + ' page' + ( (nPagesToday==1) ? '' : 's' ) + '

ce jour<br>











_________________________________________________________



Do You Yahoo!?



Get your free @yahoo.com address at http://mail.yahoo.com








  Return to Index