Hi dims, Thank you for the link. Have managed this upload with jira --> nice thing :)
Thomas -----Urspr�ngliche Nachricht----- Von: Davanum Srinivas [mailto:[EMAIL PROTECTED] Gesendet: Montag, 25. Oktober 2004 13:45 An: [EMAIL PROTECTED] Betreff: Re: AW: AxisHttpSession update Don't worry about the cvs diff. just upload the whole file after u create the bug request. http://issues.apache.org/jira/ -- dims On Mon, 25 Oct 2004 12:51:30 +0200, Dorner, Thomas <[EMAIL PROTECTED]> wrote: > Hi dims, > > I am sorry, cant do that - dont know how to do it!? > Do not use ant before ... > > No time at the moment to make research :( > Maybe I can look on it later !? > > Sorry > Thomas > > -----Urspr�ngliche Nachricht----- > Von: Davanum Srinivas [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 25. Oktober 2004 12:16 > An: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Betreff: Re: AxisHttpSession update > > Thomas, > > Can you please open a JIRA enchancement request and upload a "cvs diff > -u" against latest cvs? > > thanks, > dims > > On Mon, 25 Oct 2004 12:11:40 +0200, Dorner, Thomas > <[EMAIL PROTECTED]> wrote: > > > > > > > > Hello all, > > > > > > > > I have extended the AxisHttpSession class form Glen Daniels, cause the > > Method touch is missing some logic. > > > > Now it is possible to touch the session, and the new timeout of the > session > > (HttpSession) will move foreward. > > > > Therefore I have also changed the constructors of the class. > > > > > > > > I hope you will take this changes in further axis releases and like it. > > > > If you don't like it - you are free to kick it. > > > > > > > > > > > > The following is the code to generate new Session in my SessionHandler: > > > > > > > > private synchronized String getNewSession(MessageContext context){ > > > > > > > > wsLogger.debug("[Methode: getNewSession()] - Enter method"); > > > > > > > > HttpServletRequest request = (HttpServletRequest) > > context.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST); > > > > HttpSession httpSession = request.getSession(true); > > > > > > > > int sessionTimeoutParam = Integer.parseInt((String) > > this.getOption("sessionTimeout")); > > > > > > > > if(sessionTimeoutParam != 0){ > > > > defaultSessionTimeout = sessionTimeoutParam; > > > > } > > > > > > > > AxisHttpSession session = new AxisHttpSession(httpSession, > > defaultSessionTimeout); > > > > > > > > String id = session.getSessionID(); > > > > > > > > wsLogger.debug("[Methode: getNewSession()] - New session was > > generated with ID : " + id); > > > > > > > > session.set("listener", new SessionTimeoutNotifier()); > > > > activeSessions.put(id, session); > > > > > > > > return id; > > > > } > > > > > > > > > > > > Thanks > > > > Thomas > > > > > > > > > > > > > > > > -- > Davanum Srinivas - http://webservices.apache.org/~dims/ > -- Davanum Srinivas - http://webservices.apache.org/~dims/
