htaccess redirect depending upon screen resolution

hello!!
is there any rule that we can use in htaccess to redirect users depending upon their screen resolution??
LVL 4
SadafRasheedAsked:
Who is Participating?
 
Steve BinkConnect With a Mentor Commented:
Yes, but you would first have to send it to a loader page which sets a cookie.  The screen resolution is not known until the HTML level.  Apache does not really have awareness of the client.  If you send all connections through your front door first, the front door page can identify the resolution and place a cookie.  The next page to load will have that information available.

At the the Apache level, you will probably need to use mod_rewrite to handle this.

http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
0
All Courses

From novice to tech pro — start learning today.