Cookies to My Rescue
By Asim Krishna Prasad
Posted on 20/01/15
Tag :
Log
Well one quick remedy that comes to my mind right now is to use cookies to keep a record that the index page has been visited once. After that the cookie will be planted and hence the person will not have to face the front-layer every-time he visits the page. Had to adjust a few lines of codes and also the CSS to get the required result.
Guess sessions would have been a better solution but this was faster to code for now.. LAZY!!
COMMENTS :