> I am not sure how to load a session, instead of creating a new one.
> Suppose I use the cookie taglib to save the session ID,  and everything
> about the user in the session -- how would I get all the data about
> the user, once I receive his ID from the cookie ?

Well, the session taglib actually comes in two parts:
a) the taglib, which gives you access to an already-loaded session, and
b) the plugin that loads/creates the session.

The taglib doesn't currently support sessions creates inside your XSP page
(so, using the cookie taglib to set the session ID won't do anything).
Apache::AxKit::Plugins::Session will load any existing session data, if you
configure it to point to the appropriate data store, and your cookie ID
matches the one used by the Session plugin (I think it uses SESSION_ID).
Look at the POD documentation for Apache::AxKit::Plugins::Session for
information on how to configure it.

The idea behind this taglib, was to make session access transparent to the
XSP developer; no special code needs to be added to an XSP page to enable
sessions.

Does this answer your question?  If not, feel free to ask again.

-man


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to