donjames
08-21-2002, 03:49 PM
Hi,
I am working on integrating vBulleting with our website, and want to pass session info to it if someone visits vBulletin from other pages on our site.
So, in the phpheader template, I added a "session_start()" command to pass session info from page to page.
It seems to work fine IF THE USER ALLOWS COOKIES. However, if the user's browser is set to block cookies, though most of it displays correctly (with links that will pass the session id), various parts of the display do not.
For example: on the forum home page, immediately after the "lock" image on the bottom, the text "<font face="verdan" appears and then the rest of the display ends (so no contact or home page links appear after this). In other words - for some reason, with the "session_start()" command in the php_header, if the user's browser is set to block cookies, the display gets truncated when the <small font> is being parsed after the lock image (<small font> works fine before this point).
ANYONE HAVE ANY IDEAS WHAT MIGHT BE CAUSING THIS?
To see what I mean, you can go to the forum at http://66.220.24.247/forum/ - try viewing it with your browser set to allowing cookies, and the set it to blocking cookies and refresh the screen.
IF ANYONE HAS ANY THOUGHTS ON WHY THIS HAPPENS, I WOULD GREATLY APPRECIATE IT. ;)
Has anyone else tried using sessions between their site and their forum?
I am working on integrating vBulleting with our website, and want to pass session info to it if someone visits vBulletin from other pages on our site.
So, in the phpheader template, I added a "session_start()" command to pass session info from page to page.
It seems to work fine IF THE USER ALLOWS COOKIES. However, if the user's browser is set to block cookies, though most of it displays correctly (with links that will pass the session id), various parts of the display do not.
For example: on the forum home page, immediately after the "lock" image on the bottom, the text "<font face="verdan" appears and then the rest of the display ends (so no contact or home page links appear after this). In other words - for some reason, with the "session_start()" command in the php_header, if the user's browser is set to block cookies, the display gets truncated when the <small font> is being parsed after the lock image (<small font> works fine before this point).
ANYONE HAVE ANY IDEAS WHAT MIGHT BE CAUSING THIS?
To see what I mean, you can go to the forum at http://66.220.24.247/forum/ - try viewing it with your browser set to allowing cookies, and the set it to blocking cookies and refresh the screen.
IF ANYONE HAS ANY THOUGHTS ON WHY THIS HAPPENS, I WOULD GREATLY APPRECIATE IT. ;)
Has anyone else tried using sessions between their site and their forum?