Posts Tagged: session


14
Sep 09

HOWTO: Access Session outside of the page’s live cycle

You can­not access Ses­sion object or any other object which resides in page’s life cycle from out of the scope func­tions .This fol­low OOP rules but some­times com­pli­cate devel­op­ment process when you need to access ses­sion from exter­nal source. In this exam­ple i will exam­ine the way i use at any project to hack OOP for my needs. Maybe there is a bet­ter solu­tion but this is the best i’ve found so far.

Con­tinue reading →