hi i need help for php cod for reload lobby

For general discussion of the Poker Mavens software
Post Reply
iman.wavetv
Posts: 3
Joined: Sun Mar 10, 2013 9:49 am

hi i need help for php cod for reload lobby

Post by iman.wavetv »

i need for button reload lobby waith user now lobby its reload ut its not login with user name and show eror session key is invalid or expired

this cod for js

Code: Select all

[$(document).ready(function() {
            $('#reload').click(function() {
                $("#ifGame, #Accounts").attr('src', $("#ifGame, #Accounts").attr('src'));
                return false;
/code]


[code]tr>
        <td valign="top">  <input type="button" onClick="fullscreen()" value="Full Screen"   id="btFullscreen" alt="welcome"  class="Screen"  />  </td>
      </tr>
      <td>            <?php
      $player = $_GET["LoginName"];
      $key = $_GET["SessionKey"];
      echo("<iframe  id='ifGame' frameBorder=0 src='http://64.79.73.151:8087?LoginName=$player&SessionKey=$key' width='870' height='630'></iframe>");
      ?></td>

    </tr>
plz help me
Kent Briggs
Site Admin
Posts: 5880
Joined: Wed Mar 19, 2008 8:47 pm

Re: hi i need help for php cod for reload lobby

Post by Kent Briggs »

You'll need to detect that the user reloaded the page (perhaps with a cookie) and then redirect them back to your login page or to code that calls the AccountsSessionKey API command again to create a fresh key. Session keys can only be used once, which is what makes them secure.
iman.wavetv
Posts: 3
Joined: Sun Mar 10, 2013 9:49 am

Re: hi i need help for php cod for reload lobby

Post by iman.wavetv »

tnx ket but can give me cod becase i dont no php :(
Kent Briggs
Site Admin
Posts: 5880
Joined: Wed Mar 19, 2008 8:47 pm

Re: hi i need help for php cod for reload lobby

Post by Kent Briggs »

iman.wavetv wrote:tnx ket but can give me cod becase i dont no php :(
I don't have anything written. You'll probably need to hire a programmer.
Post Reply