Following the rapid development of Internet, there exist various Internet activities among which the E-learning has been unprecedented emerging due to the championship of Life-long learning and recognition of asynchronized learning by government in addition that the E-learning is not constrained by specific space, location, objects and time. This study employs the Web technology, script language, database, packet detection techniques (LAMP+Snort) to construct a monitoring mechanism for on-line examination so as to lead to a more fair, objective examination environment. By ways of monitoring examination rooms in which the scenes will be shown on the web page, the proctors can supervise the packets considered suspicious.