Removed unnecessary parameter

Removed unnecessary parameter, where default value 'post' was being passed into checksession().

Signed-off-by: ziycon <ziycon.eire@gmail.com>