LogoLogo
  • Introduction
    • 👋Overview
    • 🤷Target Audience
    • ✨Features
  • Getting started
    • đŸ–Ĩī¸System Requirements
    • đŸ“ĻInstallation
    • âš™ī¸Configuration
    • 🔧Setup Routine
  • Fundementals
    • 🎎Roles
    • 🌏Countries and time zones
    • â™ģī¸Scheduletask concept
    • 💰Payment Service Provider
    • âœī¸Administration
      • đŸ”ĩSales
        • đŸ‘ĨCustomers
        • đŸ“ĨInvoices
        • 📋Plans
        • 🧊Modules
      • đŸŸĸSystem
        • đŸŽ›ī¸System settings
        • â›“ī¸API Settings
        • 🌐Languages
        • đŸĒ™Currencies
        • đŸŗī¸Countries
        • 📂Mappings
        • đŸ’ŦTranslations
        • đŸĒ§Widgets
    • đŸ–ąī¸User guide
      • 🔐Customer rights
      • 🔗Customer Navigation
      • 📃Edit profile
      • 🔑Reset password
      • 🏨Edit company
      • ⚡Manage users
      • 👔Manage tenants
      • 📨View invoices
      • 💸Add payment method
      • đŸĒ§Manage plans
      • đŸ“ĻManage modules
      • 🔔Notifications
  • Development
    • đŸ› ī¸Local development
    • 📂Folder structure
      • đŸ—„ī¸Application.cfc
    • 💡Develop with saaster
      • 🎇General services
        • đŸ’ŧMappings and rigths management
        • â†Šī¸Redirects
        • 👤Customer specific sessions
        • ã€Ŋī¸Global variable "getCustomerData"
      • 🌐Global functions
        • âš™ī¸getTrans()
        • âš™ī¸getAlert()
        • âš™ī¸logWrite()
        • âš™ī¸getTime()
      • 🧊Developing the main application
      • đŸ“ĻDeveloping modules
  • API
    • âš’ī¸API: Get started
    • 📂Resources
      • 📄authenticate
      • 📄getCurrentModules
      • 📄getCurrentPlan
      • 📄getPlanFeatureSetting
Powered by GitBook
On this page
  1. Development
  2. Develop with saaster
  3. General services

Customer specific sessions

After a customer has logged in, he or she receives the following sessions:

user_id

The users ID from table users

customer_id

The customer ID from the table customers

user_name

The users first and last name (John Doe)

user_email

The e-mail address of the user with which he/she logs in

last_login

The date of the user's last login

lng

The current language displayed to the user

admin

Whether the customer is an admin (boolean)

superadmin

Whether the customer is a super admin (boolean)

sysadmin

Whether the customer is a sys admin (boolean)

currentPlan

The plan currently booked; The session variable currentPlan

currentModules

The modules currently booked; The session variable currentModules

PreviousRedirectsNextGlobal variable "getCustomerData"

Last updated 2 years ago

💡
🎇
👤