how to change code when you view the page for second time
<p>I need to change     </p>

<pre><code>'orderby' =&gt;  'date',    
with  
'orderby' =&gt;  'random',
</code></pre>

<p>when you view the homepage for the second time
could u help me?</p>

<pre><code>&lt;?php  
     $type = 'client';
     $args = array(
        'post_type' =&gt; $type,
        'post_status' =&gt; 'publish',
        'posts_per_page' =&gt; 8,
        'caller_get_posts'=&gt; 1,
        'orderby' =&gt;  'date',
        'order'  =&gt;  'DESC'
    );
     ?&gt; 
</code></pre>