vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: vForums :: Support :: Cookies :-/ - View Topic
Topic Rating: *****
Printable View
Wrighty
vForums.co.uk Moderator
****

Cookies :-/ (24th Jan 08 at 8:16pm UTC)
I'm trying to make vF make a cookie, however it doesn't seem to work. When I 'call' the cookie, it's not there on the main page or any page that is in a board/category.

It works fine on other 'main page' pages.

And yes, it is in Global! {Wink}

Any ideas why it aint working?
Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 9 12
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
Re: Cookies :-/ (24th Jan 08 at 8:41pm UTC)
Check the path the cookie is being made for is "/". Because of the search engine friendly URLs then cookies could be being set for either a single topic or a single board.

It should be something like this to do it with JS:

document.cookie = 'key=value;path=/;';

Image
 Printable View

All times are GMT+0 :: The current time is 12:43pm
Page generated in 0.8682 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums