The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
$session[what??]
Hi
I always have to think when I link something, what that stupid sessionvariable is called. I normally just go to the header template and looking at the <a href="$vboptions[forumhome].php?$session[sessionurl]"> I use the $session[sessionurl] variable. Now, while redoing a part of something I hacked, I came across $session[sessionid]. I'm sure I also saw it somewhere, I don't usually just invent something. So my question is, what is the variable I should be using? |
#2
|
||||
|
||||
use $session[sessionurl]
the produces a session string if needed, but not for cookieusers or searchengines. $session[sessionid] was used a lot in vb2, but i can'T find a place out of mind in vb3 anymore. |
#3
|
||||
|
||||
OK, thanks for making that clear
|
#4
|
||||
|
||||
you're welcome |
#5
|
|||
|
|||
having the same issue.
I am a little confused on why and what is $session[sessionurl] used for? |
#6
|
||||
|
||||
sessionurl variable is used in every url from within vb templates.
The thing behind is to remove sessionids from cookieusers AND search engines to make the urls search engine friendly. for users without cookies enabled the sessionurl var is filled with the sessionid, so they can browse without loggin in on every page |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|