The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
sessions...
ok i was reading in the php manual about the session_id() function and my question is.. will it automatically grab the session_id that i placed in the url?
?s=<?=$PHPSESSID?>&page=blah ?? or do i need to say.. session_id($s); |
#2
|
||||
|
||||
VB use:
PHP Code:
PHP Code:
nakkid. |
#3
|
||||
|
||||
um.. this isnt for vbulletin .. this is for my own script .
|
#4
|
||||
|
||||
and im talking about grabbing the session in other pages.. i think using ..
session_id($s) would work.. but im just trying to make sure.. |
#5
|
||||
|
||||
the second code line is correct. session_id() returns the session id for the current session. if the id is specified, it will replace the current session id. SID can also be used to retrieve the current name and session id as a string.
PHP Code:
|
#6
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|