![]() |
$session['sessionurl'] no value in showthread.php - why?
Folks,
I'm trying to pass the current session over to an external script near the end of showthread.php but $session['sessionurl'] has no value. Which is odd because it is used all over the place and I thought it always had a value. Any idea why not? Thanks. |
Did you make $session a global? Can you access other $session variables?
|
Thanks MarcoH64,
this is a slight modification to showthread.php just before the PHP Code:
I tried [sessionhash] aswell but that was empty, too. |
$session['sessionurl'] only holds a value if you are not using cookies i think. Same goes for the other $session elements if i am not mistaken.
You are either using cookies, or $session. |
Ah ok, Marco, so do you know how I can pass session information to an external script, please?
|
trying using $_SERVER['REQUEST_URI']?
Quote:
|
You should never trust any information that comes from outside a script. Always validate it before using.
|
All times are GMT. The time now is 01:59 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|