[Seaside] trouble accessing session variables..

sergio_101 sergio.rrd at gmail.com
Wed Oct 3 19:12:34 UTC 2012


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

i should probably rephrase that whole thing..

in my component, i was doing:

self session inspect.
self halt.

that's how i was seeing the session..



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

doh! that is what i was doing

self session inspect.
self halt.

inspector shows a value for oauthToken.

self session oauthToken inspect.
self halt.

shows nil.



-- 
----
peace,
sergio
photographer, journalist, visionary

http://www.ThoseOptimizeGuys.com
http://www.CodingForHire.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101


More information about the seaside mailing list