I've got an ecommerce site which has a quite big and complex menu system with many categories and subcategories. There are over a hundred entries.

Is it a good idea to store the whole thing in a string or in an array as PHP session variable, so that the navigation menu is not queried from the DB on each page again and again?

Or is to too large for a session variable?