w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
How to clear Url cache in Browser in android programmatically?

I clear browser cash after each page with this code. May be help.

        Intent intent = new Intent(Intent.ACTION_VIEW, uri);
        startActivity(intent);
        intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);

What is your url script, anything like this below or for ever screen is the same script and zou change only some div ? I had similary problem with download PDF documents but PHP script get ever first login screen.

<?php
$copern = 1*$_REQUEST['copern'];
if( $copern == 0 ) { $copern=1; }
if( $copern == 1 ) { 
?>
<br /><br /><br /><br /><br /><br
/><br />
<a href="../cis/sk2.php?copern=2" >Login</a>
<?php
               }
if( $copern == 2 ) { 
?>
<br /><br /><br /><br /><br /><br
/><br />
<a href="../cis/sk2.php?copern=1" >Logout</a>
<?php
               }
?>




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.