I use smallwiki1, I'd like to find some
information about the
management session.
SmallWiki 1 is basically state-less, there is nothing such as a
session object.
The login is stored within a session cookie, a string with username
and password that is passed back and forth between the client and the
server. The session cookie is created in Login>>executeLogin,
transformed back into the user-object in
Request>>updateAuthenticationFromCookies and removed in
Logout>>executeLogout. Alternatively basic-authentication can be
used, but that is the same thing: you get logged out when closing the
browser window.
However there is (a very limited) possibility to pass objects from
one page to the other one without serializing them: as links and form
callbacks are defined using blocks that are cached on the server, you
can pass data trough those blocks from one request to the other. An
example can be seen in EditActin>>renderContent and
SessionAction>>renderForm:, where the target structure is remembered
using this technique. You should have a look at Seaside if you like
to do fancy things with non-stateless web-applications.
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch