The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
$session[sessionurl] versus $session[sessionurl_q]
-------------------------
OOPS! I posted this in the wrong forum. This question is in regard to VB3. ------------------------- I see that the FORUMHOME template uses both versions of this. What is the difference between $session[sessionurl] and $session[sessionurl_q] ? What is the rule for when to use $session[sessionurl] and when to use $session[sessionurl_q] ? Thanks, James |
#2
|
||||
|
||||
Usage as follows:
For vB4: HTML Code:
<!-- other URL parameters present - add leading question mark! --> file.php?{vb:raw session.sessionurl}&x=a <!-- no other URL parameters present - do not add leading question mark! --> file.php{vb:raw session.sessionurl_q} <!-- session hash for forms --> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> HTML Code:
<!-- other URL parameters present - add leading question mark! --> file.php?$session[sessionurl]&x=a <!-- no other URL parameters present - do not add leading question mark! --> file.php$session[sessionurl_q] <!-- session hash for forms --> <input type="hidden" name="s" value="$session[sessionhash]" /> |
#3
|
|||
|
|||
Thanks for the quick response. That was exactly what I needed to know.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|