Research Article

Security Enhancement Using Cache Based Reauthentication in WiMAX Based E-Learning System

Algorithm 2

Least Session Based Cache Replacement Algorithm.
Replace
Assumption: all cache blacks are occupied by user session information
Input: , SKS, SID, , T, ASN
Output: Updated cache at ASN
Begin
(1) while cache_block_id != max       //check each cache entry
   (1.1) If ≥ max or count > 6 //old session
   (1.2) Evict the entry //delete the entry from cache
(2) store the user session at ASN
(3) update Timestamp T in AT    //update authentication table
 End If
End