![]() |
Sergey Kornilov admin 12/1/2019 |
The problem is that you cannot get screen width in PHP. You will have to find it in Javascript, pass it to PHP, save in the session variable and then use that session variable in your AfterSuccessfulLogin event. Normal any device with a screen size of less than 768 pixels is considered a mobile device. |
M
|
Mark Kramer author 12/1/2019 |
The problem is that you cannot get screen width in PHP. You will have to find it in Javascript, pass it to PHP, save in the session variable and then use that session variable in your AfterSuccessfulLogin event. Normal any device with a screen size of less than 768 pixels is considered a mobile device. Here are some pointers for you: https://stackoverflow.com/questions/1504459/getting-the-screen-resolution-using-php
|
D
|
david22585 12/1/2019 |
Just an idea, could you have a blank page that it redirects to after login with the Java that will redirect to the page you need? You could even build the blank page in PHPRunner on the HTML editor section. |
M
|
Mark Kramer author 12/3/2019 |
Just an idea, could you have a blank page that it redirects to after login with the Java that will redirect to the page you need? You could even build the blank page in PHPRunner on the HTML editor section.
|