Forum Discussion
apm_mobile css file not used on in app browsers
There is a session variable that's set when the user connects It's basically a logic decision based on the combination of the HTTP POST information and User-Agent that begins the connection.
Then there is a PHP switcher for delivering whatever CSS version (/var/sam/www/php_include/webtop/renderer/customization/general_ui/default_general_ui/en/apm.css):
Don't edit that file because your changes will be destroyed on any upgrade.
The logic looks like this:
$name = "apm_full.css";
switch( $_GET["uimode"] ){
case 7: if( $_GET["cplatform"] == "MacOS" ){ $name = "apm_edge.css"; } break;
case 9: $name = "apm_mobile.css"; break;
}
include( $name );
"uimode" is set to those numbers depending on a combination of the user agent and any POST data received.
Let's get a support ticket opened for this one so that the issue can be fully characterized. With this detailed understanding of the problem, it will be easy for support to help. Just be sure to provide the exact User-Agent and what the uimode session variable gets set to.
You can access (read) the session variables from an irule as long as they exist, but there are some gotchas with writing them depending on the specific time you're doing it and for what purpose.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com