So I flagged an answer that I thought was a comment, although my flag was declined quite quickly. So I'm wondering am I wrong in thinking that this is an invalid answer? All the answer said was:
I would suggest using $_SESSION to store a variable on the client side.
I was thinking that since this is a simple suggestion it should be a comment instead. (Although I don't believe it is) Is the above answer a valid one, if so why is it?