![]() |
reading and settings cookies
Hi,
I am trying to set and read cookies in my own PHP script which I include in the template system. I get a blank page if I want to read a cookie like $_COOKIE['name'] if i do this after including global. If I put it before, it works, but I need it after the global. I saw that there is a vbsetcookie function. Is there also a VB read functions for cookies? Or is there another way to read my own set cookies? |
Nobody has an idea for this? I can't find it in the docs or in this forum.
|
Can you post the code for your page?
It may not be a problem with the cookie itself, maybe something else has gone when you try and include vB via global.php. |
They get moved from the $_COOKIE array to the $_REQUEST array.
|
Now why was I expecting it be something simple like that? :(
|
All times are GMT. The time now is 01:03 PM. |
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:
|