Hi Guys,

I am trying to get the Session package working on a River 2.1.2
distribution using Mysql.

I managed to get the DB working, and the configuration as specified in the
documentation.

When I run the session-demo.rvt I see new sessions been created and added
to the session table in the DB.

Good.

However I don't see cookies been set on my browser and I get an error in
the rvt (with DEBUG set to 1).

Session Demo ::SESSION (debug) activate: checking out the situation
::SESSION (debug) id: no session cookie 'rivetSession'
::SESSION (debug) activate: new session, reason 'no_cookie'
::SESSION (debug) gen_session_id - feeding this to md5:
'13736499122980338089108.35.26.181373649912some random string'
::SESSION (debug) create_session: ip 108.35.26.18, id
'7E992E073C539CE5F816E3D542A1B2C8'

------------------------------
Cannot manipulate headers - already sent
    invoked from within
"headers add $cookieKey $cookieValue"
    (procedure "cookie" line 22)
    invoked from within
"cookie set $cookieName $value  -path $cookiePath  -minutes
$cookieLifetime  -secure $cookieSecure  -HttpOnly $cookieHttpOnly"
    (object "::SESSION" method "::Session::set_session_cookie" body line 2)
    invoked from within
"set_session_cookie $id"
    (object "::SESSION" method "::Session::activate" body line 23)
    invoked from within
"SESSION activate"
    (in namespace eval "::request" script line 5)
    invoked from within
"namespace eval request {
puts -nonewline "


Any ideas?

Thank you

Brice.

Reply via email to