KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: HappyHippo on November 07, 2016, 10:50:11 am

Title: Session destroy after changing the store
Post by: HappyHippo on November 07, 2016, 10:50:11 am
Hi,
I am using konakart v8.3. After switching stores, for example  from store1 to store2 the session invalidates and previous logged in user need to log in again at checkout time. What is the best way to keep the session alive at the time of switching stores?

Below are the settings in konakart.properties.

konakart.session.durationMinutes=40
konakart.session.updateThresholdMinutes=30

Thanks a lot.
Title: Re: Session destroy after changing the store
Post by: HappyHippo on November 07, 2016, 11:06:08 am
Here are konakart Initialisation Configuration:

KonaKart Store-Front Application started on Apache Tomcat/8.0.30
KKInitialisation Configuration:
    initialised              = true
    defaultStoreId           = store1
    EngineMode               = 2
    Customers Shared         = true
    Products Shared          = false
    Categories Shared        = false
    KKAdminIfImplClassName   = com.konakartadmin.bl.KKAdmin
    KKAdminPropertiesFile    = C:/Konakart/webapps/konakartadmin/WEB-INF/classes/konakartadmin.properties
    KKEngIfImplClassName     = com.konakart.app.KKEng

Thanks!
Title: Re: Session destroy after changing the store
Post by: HappyHippo on November 08, 2016, 10:41:34 am
in Context.xml have given <Context sessionCookiePath="/" sessionCookieDomain=".mydomain.com" /> but no use. 

Any idea how to retain session?

Thanks.