Ok everyone we are a little further along!
a) Parameters can be passed to the jsp
b) Within the plugin return "count=" . count($_COOKIES);
RETURNS 0
So basically even with in the vBulletin plugin i can not access any cookies at all!!!
Any ideas? Is their a particular vbulletin function i need to call to retrieve the cookies
THis doesn't return anything either:
$bbuserinfo['username'];
even though i am logged in.
THis is all in the global start hook
STOP PRESS!!!
I got it working with:
function build_cookie_string()
{
return "bbsessionhash=" . $_COOKIE['bbsessionhash'];
}
ob_start();
require_once('http://www.joshandfriends.com.au/dancemusic/faces/ExternalPlugin.jsp?' . build_cookie_string());
$included_file = ob_get_contents();
ob_end_clean();
Thanks to everyone who helped!
Josh