[Seaside] Seaside 2.9 - how do I access session ivars?
jfitzell at gmail.com
Mon Jul 20 20:48:25 UTC 2009
On Mon, Jul 20, 2009 at 1:22 PM, Paul DeBruicker<pdebruic at gmail.com> wrote:
> I'm trying to understand the documentation Mariano pointed me towards.
> Does it mean that I should not use a method like this:
> renderContentOn: html
> html text: 'You are logged in as: ' , self session user userId.
> And instead create an instance variable in the component to hold the
> 'self session user' bit? Thanks for your help
No, I don't see any problem with the first version.
If you can't spot the problem after your own debugging, try reducing
your code down to the smallest possible example that exhibits the
problem; somebody may be able to load it up and see what the problem
More information about the seaside