This Cookie Policy explains how the official Margalla Heavy Industries Limited website ("the Site") uses cookies and similar browser storage. It should be read together with our Privacy Policy.
1. What Are Cookies?
Cookies are small text files placed on your device when you visit a website. They help websites remember preferences, keep sessions secure, and understand how pages are used. Similar technologies, such as local storage, can store data in your browser for comparable purposes.
2. How We Use Cookies on This Site
MHIL uses a limited set of cookies and browser storage on this Site. We do not use third-party advertising or cross-site tracking cookies on this website.
| Name / type | Purpose | Duration |
|---|---|---|
| csrftoken (cookie) | Required by Django to protect contact, portal, and newsletter forms against cross-site request forgery. Set when you interact with forms that submit data to our server. | Session or up to 1 year (browser dependent) |
| sessionid (cookie, if applicable) | Maintains a temporary session if server-side sessions are used during your visit. Not used for marketing. | Session — deleted when you close the browser |
| MHIL-cookie-consent (local storage & cookie) | Records whether you accepted or declined optional cookies and preference storage via the cookie notice shown on first visit. | Up to 1 year |
| theme (local storage) | Remembers your light or dark theme choice for the Site header and layout via the theme toggle button. | Until you clear site data or change the setting |
| tenders-view (local storage) | Stores your grid or list view preference on the Tenders page. | Until you clear site data |
3. Categories of Use
Strictly necessary
Cookies such as csrftoken are essential for secure form submission. Without them, you may not be able to send contact, portal, or newsletter requests through the Site.
Functional / preference
Theme and layout preferences stored in local storage improve your experience by remembering choices you make on the Site. These are not used to identify you across other websites, and are only saved if you click Accept on the cookie notice.
4. Third-Party Cookies
Some pages may load content from external services (for example, embedded images or links to social media). Those services may set their own cookies if you follow links to their websites or interact with embedded content. MHIL does not control third-party cookies. Please review the relevant provider's policy when leaving the Site.
5. Managing Cookies & Storage
You can control cookies and local storage by:
- Using the cookie notice on the Site to accept or decline optional preference storage.
- Using your browser settings to block, delete, or limit cookies for this Site or all websites.
- Clearing site data in your browser to remove stored theme and layout preferences.
- Using private or incognito browsing, which typically clears session cookies when the window is closed.
If you disable strictly necessary cookies, some features — especially form submissions — may not work correctly.
6. Updates
We may update this Cookie Policy when we add new Site features or change how technologies are used. The "Last updated" date above indicates the current version.
Cookie enquiries: info@MHIL.gov.pk · See also our Privacy Policy