[Seaside] [Newbie] Storing state in cookie instead of URL

Stef Telford stef at ummon.com
Sun Sep 7 17:30:46 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Everyone,
    So, I am playing around with Seaside.. generally digging it and
glad that I can do web development in my favourite language (Ruby is
nice, but, well, Smalltalk is nicer ;). I have taken the first
rudimentary steps, running Wakom, creating a simple page and storing
state.

    However, when I was in the configure panel for my application, I
switched the 'Use Session Cookie' to 'true', yet I still get the _k in
my URL. I would have expected the value for _k to be stored in the
session cookie. If this doesn't do this, then I have two questions;

    1) how do I get Seaside to use _k in cookies ?
    and
    2) what -does- 'use session cookie' do, if it doesn't put the
state (_k) into the cookie ?

    Also, if anyone has some nice fileouts of more examples, that
would be great. I tend to learn from taking things apart :)

    Thanks and Kudos on giving Smalltalk a nice web framework :D
    Regards
    Stef
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjED8YACgkQANG7uQ+9D9U52QCghE1tU3GFKWpaRyXxI72+SOOr
xz4AmwdXSB7K1vSnpnoS9rHhPn+TVaQf
=Rs+7
-----END PGP SIGNATURE-----



More information about the seaside mailing list