Fixed Issue #312

I used cookies for solving the problem.