1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

vB Question

Discussion in 'Feedback & Suggestions' started by quack, 21 Jul 2002.

Thread Status:
Not open for further replies.
  1. quack

    quack Minimodder

    Joined:
    6 Mar 2002
    Posts:
    5,240
    Likes Received:
    9
    Just a quick Q about vB and BiT's implementation of it.

    In the URLs there is a s= bit where a session ID used to be, how do you remove that, and what does it even do on the site?

    Cos I am just setting up a vB forum too and I dont like it being there cos it makes the URLs so much longer.
     
  2. George

    George Bah

    Joined:
    14 May 2002
    Posts:
    1,521
    Likes Received:
    0
    hey,

    this is a Session ID (SID), yes.

    its a way to keep variables stored server side, theres no way to remove it.

    display of the SID varies, its PHP's fault, not vB's. :D

    .icecube
     
  3. quack

    quack Minimodder

    Joined:
    6 Mar 2002
    Posts:
    5,240
    Likes Received:
    9
    hmm, damn. It's ugly and makes copying and pasting URLs very hard :(

    grrrrrr :grr: :grr:
     
  4. George

    George Bah

    Joined:
    14 May 2002
    Posts:
    1,521
    Likes Received:
    0
    URL to your board?

    ill see if i get it...

    .icecube
     
  5. quack

    quack Minimodder

    Joined:
    6 Mar 2002
    Posts:
    5,240
    Likes Received:
    9
    Last edited: 21 Jul 2002
  6. RTT

    RTT #parp

    Joined:
    12 Mar 2001
    Posts:
    14,120
    Likes Received:
    74
    You can infact turn SIDs off.

    Profile > Edit Options > browse forums with cookies (no)

    Should do the trick ;)
     
  7. George

    George Bah

    Joined:
    14 May 2002
    Posts:
    1,521
    Likes Received:
    0
    but that would affect your login to the board, i belief.

    cookies on the board will keep you logged in all the time so you dont have to relogin when you close your browser and reopen it.

    if you understand what im saying here...

    and i still dont see how that would get rid of the SID either Rich.

    .icecube
     
  8. RTT

    RTT #parp

    Joined:
    12 Mar 2001
    Posts:
    14,120
    Likes Received:
    74
    I have no login probs and i dont get any SIDs in URLs :)

    SpiKe also did the same and changed the cookie setting :dude:
     
  9. George

    George Bah

    Joined:
    14 May 2002
    Posts:
    1,521
    Likes Received:
    0
    well, i dont get any SID either, and my cookies are on.

    with cookies disabled, when you revisit bit, it should ask you to login again, which is annoying.

    .icecube
     
  10. RTT

    RTT #parp

    Joined:
    12 Mar 2001
    Posts:
    14,120
    Likes Received:
    74
    err sorry, meant to browse with cookies :worried:

    if you dont want SID, set it to browse with cookies (default is off)

    /me getting things the wrong way around
     
  11. Jamie

    Jamie ex-Bit-Tech code junkie

    Joined:
    12 Mar 2001
    Posts:
    8,180
    Likes Received:
    54
    Why would you have cookies disabled tho, the SID and the cookie system both work just as well however cookies don't make a mess of your URLs
     
  12. George

    George Bah

    Joined:
    14 May 2002
    Posts:
    1,521
    Likes Received:
    0
    if you were a PHP coder, you'd know the reasons...

    .icecube
     
  13. RTT

    RTT #parp

    Joined:
    12 Mar 2001
    Posts:
    14,120
    Likes Received:
    74
    kmon then smart ass, EXPLAIN WHY! :D

    (seriously)
     
  14. Jamie

    Jamie ex-Bit-Tech code junkie

    Joined:
    12 Mar 2001
    Posts:
    8,180
    Likes Received:
    54
    Are you trying to say that I don't know the difference between sessions and cookies and that I don't know PHP.
     
  15. George

    George Bah

    Joined:
    14 May 2002
    Posts:
    1,521
    Likes Received:
    0
    well, dont know if you are a coder, if you know PHP, you should know the advantages sessions have over cookies.

    sessions - serverside
    cookies - client side

    sessions - secure
    cookies - not secure

    sessions - not sloppy
    cookies - sloppy

    cookies are a good method of keeping non sensitive variables.

    im pretty advanced in PHP/MySQL, more than any of my hardware skills.

    my point is, sessions would be far more appropriate than cookies would.

    .icecube
     
  16. Jamie

    Jamie ex-Bit-Tech code junkie

    Joined:
    12 Mar 2001
    Posts:
    8,180
    Likes Received:
    54
    You are speaking to the person who coded the key counter in your signiture and also did an advanced mySQL and PHP ecommerce site with _VERY_ important security issues for my A Level project!

    Which ever way you do it at some point you are going to have to transfer the name and password from the client to the server!
     
  17. George

    George Bah

    Joined:
    14 May 2002
    Posts:
    1,521
    Likes Received:
    0
    ive coded many things for clients, upto the level of a shopping cart.

    plus, i doubt getting data from a server is very hard?

    cookies "store" the data on the clients system, sessions dont...

    .icecube
     
Thread Status:
Not open for further replies.

Share This Page