I have a text to be displayed to user only once per session i.e. only the first time they try to open a page. If they try to open again they are not supposed to see that text.
If they close the browser and open it again they should be able to see the text again. I wanted to use session, but I am not sure how to use it.
I tried to use cookie which worked, but what if cookie is disabled, I guess this wont work. so I decided to go with Sessions.