[Instiki] Weird Session-Error in instiki

Hanke Daniel hanke at syndi-cat.net
Thu Aug 20 15:54:58 EDT 2009


Hi,

i use instiki as a part of my application, not as the whole app itself.

the site-entrypoint, root, is a own controller that defines a session- 
value. working on all other non-instiki-controllers.

changing into wiki seems to ignore this entry. switching back from  
wiki to my app, it works again.


i am pretty unsure what that might bause.

What i actually do is:

application_controller:

before_filter :check_cart_session

def check_cart_session
      session[:cart] = wholebunchofstuff if session[:cart].nil?
end

i need this since there are some nested arrays etc.

in the main-layout, i say:

- if !session[:cart][:count].zero?
    = I18n.t :"index.cart.count", :count=> session[:cart][:count]

displays something like "you have 4 items in your cart"

in wiki, i cannot reach that values.




is there any odd in this, or, does instiki uses its own session-root?

Thanks in advance.

Kind Regards
Daniel


More information about the Instiki-users mailing list