1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How do I get rid of Session ID's on my messageboard without causing user problems?

Discussion in 'Forum Management' started by verbs, Aug 18, 2006.

  1. #1
    I've heard when people turn off session ID's, it can prevent people from staying logged onto the forum as they browse from page to page.

    Is there some sort of code I can use to turn session ID's off? I'm not very computer savvy with coding (just learning), so any help would be greatly appreciated.


    The site is www.obesitydiscussion.com
     
    verbs, Aug 18, 2006 IP
  2. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #2
    Most people use cookies. If any one has trouble, tell them to turn cookies on.
     
    Nintendo, Aug 18, 2006 IP
  3. verbs

    verbs Peon

    Messages:
    245
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Gotcha, so as long as they use cookies, then they shouldn't have problems without session IDs. Thanks :D :D


    Now, to figure out how to turn em off :confused:
     
    verbs, Aug 18, 2006 IP
  4. void

    void Peon

    Messages:
    119
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #4
    put this in your .htaccess
    php_flag session.use_trans_sid off

    or this in php (in your header include if you've got one)
    ini_set('session.use_trans_sid', false);

    or modify it in php.ini if you have access
     
    void, Aug 19, 2006 IP
  5. BFTUK

    BFTUK Banned

    Messages:
    685
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Not sure if SMFSE:confused:rg supports RC1.1 yet, but you should head over there.
     
    BFTUK, Aug 19, 2006 IP
  6. verbs

    verbs Peon

    Messages:
    245
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Know I use php but do not have a header. Could someone show me with proper code and exactly where to place this code? I have attached my forum code below in a .txt file

    I would be forever greatful. Thanks so much everyone for all your help! :cool:
     

    Attached Files:

    verbs, Aug 19, 2006 IP
  7. void

    void Peon

    Messages:
    119
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Put this above the first line of that file.

    ini_set('session.use_trans_sid', false);
     
    void, Aug 19, 2006 IP
  8. verbs

    verbs Peon

    Messages:
    245
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I'm attaching two examples.....I want to make sure I'm doing this right....thanks for helping me on this void :)
     

    Attached Files:

    verbs, Aug 19, 2006 IP
  9. void

    void Peon

    Messages:
    119
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Yep, that's exactly what I meant. If that doesn't work, drop me a PM.
     
    void, Aug 19, 2006 IP
  10. verbs

    verbs Peon

    Messages:
    245
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I put that line above my keywords
     
    verbs, Aug 19, 2006 IP
  11. void

    void Peon

    Messages:
    119
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #11
    I don't see any session IDs on your site, so I assume it's working now.

    If you still see them, try Ctrl+F5 for a deep refresh instead of using a cached version.
     
    void, Aug 19, 2006 IP
  12. verbs

    verbs Peon

    Messages:
    245
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Wow, thanks void! That helped me out a ton! Maybe now the search engines will place my keywords on their search engines. :)
     
    verbs, Aug 19, 2006 IP
  13. void

    void Peon

    Messages:
    119
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #13
    No problemo, good luck with the search engines! :)
     
    void, Aug 19, 2006 IP