I\'ve trying to build Joomla into my existing website so I can use it for premium content.
I\'ve already got a custom-built authentication system that sets my own
Joomla uses their own session management so when you use php session it wont work guarantee. To get around this just try to juse joomla session management.
This may solve you problem.