first attempt at logging current presentation number in cookie