-2

I need to redirect in a page (not supported) users that use Ie 8 or older version how can i do? a helper? second question if i give user chance to procede anyway i have to store this preference in sessions?

thanks Stefano

sdalpos
  • 37
  • 2
  • 5
  • Can you tell us what your research on the first question showed and what is your second question? It is not very clear – Stoyan Dimov Apr 24 '13 at 14:05
  • It is better to do the browser check in the browser if possible. Depending on your use case, you may be able to do this in JavaScript instead. Something to consider at least. – ba0708 Apr 24 '13 at 14:09
  • I would go for a conditional comment and simply put up an alert box on top of the screen, asking the user to proceed to another version of the website. Don't do such things with scripts, users generally don't like automatism they don't ask for ;) – Sam Apr 24 '13 at 14:12

1 Answers1

0

One solution

onBootstrap seems to be correct but without possibility of chance to proceed. http://php.net/manual/fr/function.get-browser.php

Other solution check with javascript How can you detect the version of a browser? is the better solution and store it in cookies

Community
  • 1
  • 1
Remi Thomas
  • 1,528
  • 1
  • 15
  • 25