IRC Archive for channel #xwiki on 01 December 2016

Last modified by Vincent Massol on 2016/12/01 23:10

<sorinello> has quit
00:02 <sorinello> has joined #xwiki
05:45 <edvorg> has joined #xwiki
06:45 <edvorg> has quit
08:44 <Pbas> has joined #xwiki
09:36 <ol-ow2> has joined #xwiki
09:38 <ol-ow2> Hi, i'm using $request.getSession().setAttribute("myVar","myData") to store some datas, how many time these datas will be kept  ?
09:56 <gdelhumeau> has joined #xwiki
10:22 <Slashman> has joined #xwiki
10:22 <zzeroo> has joined #xwiki
10:25 <zzeroo> has quit
10:25 <zzeroo> has joined #xwiki
10:56 <daemoen> has quit
11:02 <daemoen> has joined #xwiki
11:06 <tmortagne> has joined #xwiki
11:07 <ol-ow2> Hi, i'm using $request.getSession().setAttribute("myVar","myData") to store some datas, how many time these datas will be kept  ? tmortagne gdelhumeau sdumitriu1
11:08 <tmortagne> ol-ow2: the session lifetime depends on various things but not on XWiki
11:08 <tmortagne> the session is mostly browser and application server decision
11:09 <tmortagne> as long as the user is active the value should stay
11:09 <ol-ow2> that's mean that session is not impacted by xwiki.cfg ?
11:11 <tmortagne> I don't think there is any sessions related property in xwiki.cfg
11:11 <tmortagne> basically the value in put in the session stay as long as the session is not destroyed
11:11 <martinus__> tmortagne, is it related to tomcat's session timeout somehow ?
11:12 <tmortagne> I never configured session timeout at tomcat level but sounds like it yes
11:12 <martinus__> tmortagne, it's 30 minutes by default
11:12 <tmortagne> session timeout is usually the time after which the session is destroyed when the client don't come back
11:12 <martinus__> tmortagne, yes that's how I understand it too
11:13 <tmortagne> it all depends what kind of data you plan to store in it
11:14 <tmortagne> usually it's short lived information about the client that you want to keep on server side
11:14 <ol-ow2> i've scripted a macro which store email adress destination mail (obfuscate) in the session, it's a contact form indeed
11:14 <tmortagne> for longer not too sensitive data you have the cookie
11:15 <ol-ow2> i don't want that user know the adress destination (minor user, more robot)
11:16 <tmortagne> where does the email address come from the first time ?
11:16 <tmortagne> when it's not stored in the session already
11:17 <ol-ow2> defined by the macro
11:18 <ol-ow2> {{contactus emaildestination="[email protected]"  text="babla" /}}
11:32 <ol-ow2> when this macro is called, emaildestination is store in the session and then the user complet the form, after the script send a mail to the destination email after retrieved emaildest in the session stored
11:39 <Pbas> has quit
11:40 <ol-ow2> We have reduce to 2 minutes the lifetime session on tomcat, it seems that session is destroyed after 2 minutes as expected
11:41 <tmortagne> ok
11:41 <ol-ow2> thanks anyway
11:43 <Pbas> has joined #xwiki
12:03 <tmortagne>   [WARN] Upgrading myxwiki.org to 8.4.1 in 10 minutes
13:21 <ol-ow2> has quit
14:55 <kwoot> has joined #xwiki
14:57 <kwoot> Anybody awake to help me? On ubuntu 16.04 I purged xwiki6/mysql and installed xwiki8/psql. Now SEVERE [http://10.1.1.1:8080/xwiki/bin/view/Main/] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [action] in context with path [/xwiki] threw exception. I have no idea why. Anybody a hint?
15:04 <kwoot> fixedf
15:59 <OSIMasson1> has quit
16:15 <OSIMasson1> has joined #xwiki
16:16 <OSIMasson1> has quit
16:23 <OSIMasson1> has joined #xwiki
16:28 <OSIMasson1> has quit
16:41 <OSIMasson1> has joined #xwiki
18:27 <gdelhumeau> has quit
19:36 <fcharton> has quit
19:47 <OSIMasson1> has quit
19:58 <fcharton> has joined #xwiki
20:32 <Slashman> has quit
23:03 <tmortagne> has quit
23:10 daemoen stretches
Tags:
   

Get Connected