The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
In my vB templates, at many places I find linking of files in three different ways !!
please tell me the difference among these.. Code:
1. <a href="file.php">$vbphrase[file]</a> 2. <a href="file.php$session[sessionurl_q]">$vbphrase[file]</a> 3. <a href="file.php?$session[sessionurl]">$vbphrase[file]</a> ![]() |
#2
|
||||
|
||||
![]()
<a href="http://www.vbulletin.com/forum/showthread.php?t=146620" target="_blank">http://www.vbulletin.com/forum/showthread.php?t=146620</a>
|
#3
|
|||
|
|||
![]()
Or just stick them in a template and look at the HTML source of the output
![]() |
#4
|
||||
|
||||
![]()
fine.. thanks !!
--------------- Added [DATE]1210163015[/DATE] at [TIME]1210163015[/TIME] --------------- this is the output in the order what I see in Firefox Code:
1. <a href="file.php">file</a> 2. <a href="file.php">file</a> 3. <a href="file.php?">file</a> --------------- Added [DATE]1210163062[/DATE] at [TIME]1210163062[/TIME] --------------- and this is what I see in IE Code:
1. <a href="file.php">file</a> 2. <a href="file.php ?s =d919808b3020e93900f5bef63dbe3d05">file</a> 3. <a href="file.php ?s =d919808b3020e93900f5bef63dbe3d05&">file</a> |
#5
|
|||
|
|||
![]()
$session[sessionurl_q] and $session[sessionurl] will only have a value of the browser doesn't accept cookies.
|
#6
|
||||
|
||||
![]()
thanks for your reply sir.. but i want to know when to link files with $session[sessionurl_q] and $session[sessionurl] and how do they differ from simply linking file like <a href="file.php">file</a>
in other words.. is there a certain condition to use $session[sessionurl_q] OR $session[sessionurl]. |
#7
|
||||
|
||||
![]() Quote:
Quote:
If you exclude this code altogether, what will happen is that if someone does not use cookies, when they click the file.php link they will need to re-login. |
#8
|
||||
|
||||
![]()
okkkkk.... perfect !!
i got it, thank you |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|