Hiding $SID

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hiding $SID

    how can i hide sid in my site only http://mysite.com/main.php can only seen on my address bar.

    #2
    Use $_SESSION[] in your script and don't put session_id() e.g 'http://mysite.mobi/index.php?SID='.session_id() in your links
    libra.wen.ru

    Comment


      #3
      use search. . . Topic with instruction how to hide sid is created on forum. . . Find him. . .
      P.S. Sorry for my bad English. . . ;)

      Comment


        #4
        session_start();
        in every page or use un cs how to make it easier..

        $sid = safe(cleanInput($_GET["sid"]));
        CHANGE TO
        $sid = safe(cleanInput($_SESSION["sid"]));
        Last edited by ACIDCORE; 29.08.11, 12:05.

        Comment

        Working...
        X