Social Counts not showing ? Php session id problem

Discussion in 'PHP' started by sarahcypper, Aug 28, 2011.

  1. #1
    Ok let me tell you i m fed up searching for a solution !
    My problem is that i am using SMF simple machine forum ! and the problem i m facing is my social counts not showing. I just ntigrate the DIGG button count remain 0 ? I integrate the stumbleupon button the count remain 0 ? --- but if I open the site from Search engine or by clicking from my digg or stumble upon account it shows the count ..
    So far what i understand it is causing by php session id's --

    When submitting to digg --- digg crawler get special session id to show count ---
    when you visit the page normally -- the digg script load the page url without session id --
    then when the loaded url checked against digg system -- it doesn't match with any content--
    it shows zero to digg count -
    but when accessed directly from digg -- or open with the sessionid provided to digg--
    it start showing count ---

    Logic-

    Lets suppose
    digg = d
    url = u
    session.url = s
    count show = c

    Work-
    while submitting
    D get s not u
    so
    c = s

    while on post page-

    post page = u
    but c = s
    so
    c detect no s
    hence -
    c = 0

    while going with session id on post page--

    now post page = s
    and c = s
    c detects s
    hence
    c = s

    --------------------------
    PROVE

    withour session id-- Digg count = 0
    http://bulletinblips.com/index.php?topic=606

    with session id -- Digg count = real value.
    http://bulletinblips.com/index.php?PHPS ... opic=606.0


    Well it can be reversed !
    my above concept can be a little inverse of what actually going on !

    it can be like this aswell

    When submitting to digg --- digg crawler get normal url to show count ---
    when you visit the page normally -- the digg script load the page url with session id as it is guest with no cookies support--
    then when the loaded url checked against digg system -- it doesn't match with any content--
    it shows zero to digg count -
    but when accessed directly from digg -- or open with the sessionid provided to digg--
    it start showing count ---

    IN SHORT I WANT COUNT TO SHOW ON MY POST ! ! !
     
    sarahcypper, Aug 28, 2011 IP
  2. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #2
    Why are you asking here, and not on the SMF forum? Most people here don't run SMF - all people there do.
     
    Rukbat, Aug 31, 2011 IP