A
Aaron
I would like to cache a list of names of the last 5 users in server cache.
and when a new user visits this page it would delete the oldest user in the
last and add the new user.
pseudo code
string[] actUserList;
actUserList[] = (string[])Cache[("AUL")];
//delete oldest user code
Cache.Insert ("AUL", actUserList[] + getUsername());
String actUserListNew[] = (string[])Cache[("AUL")]; //updated active user
list
Thanks,
Aaron
and when a new user visits this page it would delete the oldest user in the
last and add the new user.
pseudo code
string[] actUserList;
actUserList[] = (string[])Cache[("AUL")];
//delete oldest user code
Cache.Insert ("AUL", actUserList[] + getUsername());
String actUserListNew[] = (string[])Cache[("AUL")]; //updated active user
list
Thanks,
Aaron