+ Reply to Thread
Results 1 to 4 of 4

Thread: Difference between sessionurl and sessionurl_q?

  1. #1
    Member Luciano is on a distinguished road
    Join Date
    Apr 2001
    Location
    austria
    Posts
    81

    Difference between sessionurl and sessionurl_q?

    Just maybe a stupid question but didn't find the answer anywhere.

    some places i find: ...somefile.php?' . $vbulletin->session->vars['sessionurl']

    and in otherplaces i find: ...somefile.php?' . $vbulletin->session->vars['sessionurl_q']

    can anybody help me and tell me when to use the _q and when not?

    thx for a reply

    Luc
    Last edited by Luciano; Fri 23rd Feb '07 at 4:35pm.

  2. #2
    vBulletin Team Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke's Avatar
    Join Date
    Aug 2000
    Location
    So. California
    Age
    39
    Posts
    35,150
    Blog Entries
    1
    sessionurl contains the session id hash. i.e. s=232094234kj3409dsdlk3w

    sessionurl_q contains the ? followed by the session id hash.

    They are for building different types of URLs in the templates. If you only need the ? when a sessionid is added then use sessionurl_q. If the ? is going to be there anyway, then use sessionurl right after it.
    Wayne Luke
    Get started with your own social network.
    Purchase and download vBulletin today.
    vBCodex (Running vB 4.0 Suite) - Take your vBulletin Community to the next level. Modification tips, tricks and support.

  3. #3
    Member Luciano is on a distinguished road
    Join Date
    Apr 2001
    Location
    austria
    Posts
    81
    Thank.. big help

    Luc

  4. #4
    vBulletin Developer Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham's Avatar
    Join Date
    May 2000
    Location
    California
    Age
    36
    Posts
    13,962
    Blog Entries
    16
    sessionurl_q is used when the link doesn't have any arguments. Using sessionurl_q in this situtation means that when the link is displayed, you'll just see the link.php and not link.php?
    vBulletin Developer since Dec 2000

+ Reply to Thread

Similar Threads

  1. What's the difference between "$session[sessionurl_q]" and "$session[sessionurl]"
    By forumfolk in forum vBulletin 3.6 Questions, Problems and Troubleshooting
    Replies: 1
    Last Post: Fri 29th Sep '06, 4:43pm
  2. What's the difference between sessionurl_q and sessionurl?
    By Ace in forum vBulletin 3.5 'How Do I' Questions and Troubleshooting
    Replies: 3
    Last Post: Sun 1st Jan '06, 11:54pm
  3. Is the $session[sessionurl_q] part necessary?
    By PageUp in forum vBulletin 3.5 'How Do I' Questions and Troubleshooting
    Replies: 1
    Last Post: Sun 30th Oct '05, 5:55am
  4. sessionurl and sessionurl_q?
    By Oblivion Knight in forum vBulletin Suggestions and Feedback
    Replies: 5
    Last Post: Wed 13th Jul '05, 8:03pm
  5. require to use the sessionurl?
    By linda522 in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 9
    Last Post: Sat 26th Jun '04, 9:38am

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts