Quote:
Originally Posted by Philip M
The OP wanted the splash screen to be shown 3 times only (over multiple sessions). He asked his question in the Javascript forum, and Javascript can very easily do this using a cookie. It is silly to raise the question of Javascript or cookies being disabled.
|
The op didn't specify if it was over multiple sessions or not, hence the questions from Labrar and I.
Obviously Labrar doesn't think it's silly to ask what the op intends to do if javascript or cookies are disabled either. If you do this server side it will work in at least the cases it would work in javascript but if you do it with javascript it will not work in all browsers where it will still work if coded in php, at least for a single session.
So it's a no brainer, if you want to maximise the possible browsers this will work in then do it server side otherwise javascript is fine if you can accept it working in fewer browsers.