MyBB Community Forums

Full Version: Cookie security question?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi is it OK to display this in header?
Quote:<script type="text/javascript">
<!--
var cookieDomain = "mydomain.com";
var cookiePath = "/";
var cookiePrefix = "";
var deleteevent_confirm = "Are you sure you want to delete this event?";
var removeattach_confirm = "Are you sure you want to remove the selected attachment from this post?";
var loading_text = 'Loading. <br />Please Wait..';
var saving_changes = 'Saving changes..';
var use_xmlhttprequest = "1";
var my_post_key = "30f3f5906139e04b8734a7e1f30848d8";
var imagepath = "images";
// -->
</script>
Those variables are required in order to let JS work properly and should be rather in headerinclude than header. They shouldn't be touched and are secure.
Thanks @Destroy666 I didn't know that.