How to use sessions in Joomla! 1.5 using the Joomla! API?
Question: How to use sessions in Joomla! 1.5 using the Joomla! API
- This can be obtained using the JFactory/getSession object
- Instantiate the getSession object
- name - The session name
- id - Unique ID of the session
- expire - Expiry date and time
- security - Comma seperated security options, have a look at JSession
- Now we set the session
- We get the session variable as follows
- Error displaying the error page: Application Instantiation Error
- How to get the Attribute Label of a attribute in a Model using Yii Framework?
- PHP function to get the number of days between two dates
- How to check if a Request was made via AJAX in PHP?
- How to resume CUPS printer in Linux via the Command Line?