Mantis Logo
Mantis Manual
Manual
Configuration

Database
Path
Webserver
Version
Email
Language
Display
Time
JpGraph
Date
News
Default Preferences
Summary
Bugnote
File Upload
HTML
Authentication
Status Settings
Filters
Misc
Colors
Cookies
Database Tables
Speed Optimisation
Reminders
Bug History
Sponsorship
Source Control Integration
Custom Fields
My View Settings
Relationships
System Logging


Partner Links


Cookies
Last Modified: December 12, 2004 09:12AM
(Any)
Description

$g_cookie_path This is specifies to the path under which a cookie is visible. All scripts in this directory and its sub-directories will be able to access Mantis cookies. Default value is '/'. It is recommended to set this to the actual Mantis path. Also see the http://www.php.net/manual/en/function.setcookie.php in PHP Manual.


If you are running more than one Mantis installation on the same server, it is recommended to set the cookie path in each installation to its path. This is important to stop users from one installation to get automatic access rights to other installations which have users with the same name. This used to happen in versions prior to 0.18.0.
$g_cookie_domain Unused
$g_cookie_version Cookie version is used as a prefix for cookies that should be expire when the code is changed in a certain way. The developers would increase this version when necessary, which in effect will cause the creation of new cookies that are compatible with the new code. It is not expected for the user to need to change this setting.
$g_cookie_prefix This should be set to a unique identifier which does not include spaces. Again, this should be unique per Mantis installation, specially if the $g_cookie_path is not restricting the cookies scope to the actual Mantis directory.
The configuration variables $g_string_cookie, $g_project_cookie, $g_view_all_cookie, $g_manage_cookie are calculated based on $g_cookie_prefix. When you change the cookie prefix in config_inc.php, you need to follow it with a copy of the four lines that calculate the names for these cookies.

User Contributed Notes
Cookies
Add Notes About Notes
There are no user contributed notes for this page.
Last updated: Sun, 23 Oct 2011 - 17:23:30

Mantis @ SourceForge