[Seaside] trouble accessing session variables..

Jon Paynter kittle31 at gmail.com
Wed Oct 3 17:56:08 UTC 2012


Doing 'self session' from a debugger will never work, it will always return
nil.  This is the way it was implemented.

Follow Diego's advice and set it to a local var first, then you can inspect
the local var.
temp := self session.
self halt.


or a pattern I use:
self session inspect.
self halt.

Then I have an inspector already opened on the session instance.

On Wed, Oct 3, 2012 at 9:24 AM, Paul DeBruicker <pdebruic at gmail.com> wrote:

> So when you instantiate your session if you set the value of the
> oauthToken variable to 'abcd' in the initialize method and then do nothing
> else does your conditional pass?
>
>
> Also - What Bob Arning just said
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20121003/1249fac7/attachment-0001.htm


More information about the seaside mailing list