3435 Posts in 1026 Topics by 866 members
|Go to End|
8 July 2013 at 9:14pm
We have developed a site with silverstripe3.In the course listing page, there is an option to add the courses to shortlist and we can compare the courses. In the header there an icon to view the list of courses which are added in shortlist . By clicking the "Shortlist" icon in the header a drop-down will show and it will display the course list which are added for compare. In the course listing page , there is a check box to add the courses to shortlist . And in the header shortlist drop-down also its coming correctly. But in the other pages like Home or contact us etc , by clicking the shortlist menu in header nothing displayed. So is there any way to set the session variables to store the values by adding each courses to shortlist menu. If so we can check the session variable values in other pages like home and contact us to display the drop-down with added courses in the header.
Thankful for any help or pointers on this topic.
9 July 2013 at 12:27am
Have you looked into the Session class?
|Go to Top|