Archive for the ‘ Uncategorized ’ Category

Partitioning: Backup and Restore Table (or Repair with option use_frm).

I use data files (.MYD) to keep some big tables for archiving purpose. When I need some archive data I am using to repair the table with option “use_frm”. mysql> REPAIR TABLE `test_table` use_frm; I think it is the same way how native statement RESTORE TABLE works (which is is deprecated and is removed in […]

Read more...

HTTP Authentication Digest – effective logout action

Using Digest Access Authentication you probably encountered the problem with effective logout. I solved this with timeout option. My solution to this is as follows: MVC logout action: public function logoutAction() { $YourSessionObject->ForceLogout(True); // the rendered page should contains automatic redirection to page for action /auth/login // e.g. <meta http-equiv=”refresh” content=”2;url=http://domain/auth/login”> $this->Render(); } MVC login […]

Read more...

Key logger on Windows

My own keylogger.

Read more...