Message from discussion
JApplication::loadSession resets JUser object
Received: by 10.58.151.78 with SMTP id uo14mr4068197veb.17.1352570387687;
Sat, 10 Nov 2012 09:59:47 -0800 (PST)
X-BeenThere: joomla-dev-platform@googlegroups.com
Received: by 10.220.226.7 with SMTP id iu7ls5857080vcb.6.gmail; Sat, 10 Nov
2012 09:59:46 -0800 (PST)
Received: by 10.52.72.133 with SMTP id d5mr2926393vdv.16.1352570386946;
Sat, 10 Nov 2012 09:59:46 -0800 (PST)
Date: Sat, 10 Nov 2012 09:59:46 -0800 (PST)
From: qson <and...@qson.se>
To: joomla-dev-platform@googlegroups.com
Message-Id: <782eaf98-d71e-4b77-999d-bea125749b84@googlegroups.com>
In-Reply-To: <3bc2b2d5-f232-4fc4-8167-8db603ae5aa4@googlegroups.com>
References: <3bc2b2d5-f232-4fc4-8167-8db603ae5aa4@googlegroups.com>
Subject: Re: JApplication::loadSession resets JUser object
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_246_16520086.1352570386612"
------=_Part_246_16520086.1352570386612
Content-Type: multipart/alternative;
boundary="----=_Part_247_23718314.1352570386613"
------=_Part_247_23718314.1352570386613
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Sorry, I meant JApplicationWeb. There was not a problem with loadSession as
I thought. I was worried when I saw $session->set('user', new JUser); but
that was only in a new session, which is ok.
The problem was bad coding from me. Sorry.
Thanks for the tip about JLoader::register.
------=_Part_247_23718314.1352570386613
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
Sorry, I meant JApplicationWeb. There was not a problem with loadSession as I thought. I was worried when I saw $session->set('user', new JUser); but that was only in a new session, which is ok.<br>The problem was bad coding from me. Sorry.<br><br>Thanks for the tip about JLoader::register.<br><br>
------=_Part_247_23718314.1352570386613--
------=_Part_246_16520086.1352570386612--