[Chameleon] KeepSessionAlive widget disfunctional? - solved

William Bronsema wbronsema at dmsolutions.ca
Tue Aug 2 09:52:39 EDT 2005


I have checked and fixed all sample templates for this problem.  Fortunately
this problem was only in the sample_other.html template.   Fixed in CVS.

Regards,
Bill

________________________________________________

William A. Bronsema, C.E.T.
Software & Applications Development,
DM Solutions Group Inc.

> -----Original Message-----
> From: Paul Spencer [mailto:pspencer at dmsolutions.ca]
> Sent: Tuesday, August 02, 2005 7:57 AM
> To: Bart van den Eijnden
> Cc: chameleon at lists.maptools.org; wb >> William Bronsema
> Subject: Re: [Chameleon] KeepSessionAlive widget disfunctional? - solved
> 
> Opps.  That was probably me ...
> 
> Bill,
> 
> please check all the sample templates for this problem.
> 
> I agree that the attribute name is misleading.  Do you have a suggestion?
> 
> Paul
> 
> Bart van den Eijnden wrote:
> > Okay, apparently the maximum value for the timeout is 1800 seconds ...
> so it did not accept my value :-(
> >
> > I think the timeout name for the attribute is a bit misleading, it is
> actually an interval, since every X seconds the image is reloaded to keep
> the session alive. At first I thought it was the period of time in seconds
> after which my session would timeout ....
> >
> > Another problem was that I copied the CWC2 tags from the Chameleon
> samples, sample_other.html, but since the widgets are nested there they
> are not loaded probably. If I look at the source of the sample other, I
> don't see a window.settimeout javascript cal which should be generated by
> the KeepSessionAlive widgetl.
> >
> > The proper defintion should be:
> >
> > <!-- SESSIONEXPIRED -->
> > <cwc2 type="SessionExpired" text="Your session has expired."></cwc2>
> > <!-- KEEPSESSIONALIVE -->
> > <cwc2 type="KeepSessionAlive" timeout="300"/>
> >
> > instead of:
> >
> > <!-- SESSIONEXPIRED -->
> > <cwc2 type="SessionExpired" text="Your session has expired.">
> > <!-- KEEPSESSIONALIVE -->
> > <cwc2 type="KeepSessionAlive" timeout="300"/>
> > </cwc2>
> >
> > Best regards,
> > Bart
> >
> > Bart van den Eijnden
> > Syncera IT Solutions
> > Postbus 270
> > 2600 AG  DELFT
> >
> > tel.nr.: 015-7512436
> > email: BEN at Syncera-ITSolutions.nl
> >
> >
> >>>>"Bart van den Eijnden" <BEN at syncera-itsolutions.nl> 08/02/05 12:22pm
> >>>
> >
> > Hi list,
> >
> > using Chameleon 2.2, my sessions expire depending on the
> session.gc_maxlifetime from php.ini and not on the value set in the
> Chameleon template.
> >
> > Is something wrong with my defintion, or is this functionality broken???
> >
> > <cwc2 type="SessionExpired" text="Your session has expired please
> refresh the page">
> >   <cwc2 type="KeepSessionAlive" timeout="18000"/>
> > </cwc2>
> >
> > Best regards,
> > Bart
> >
> > Bart van den Eijnden
> > Syncera IT Solutions
> > Postbus 270
> > 2600 AG  DELFT
> >
> > tel.nr.: 015-7512436
> > email: BEN at Syncera-ITSolutions.nl
> >
> >
> > _______________________________________________
> > Chameleon mailing list
> > Chameleon at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/chameleon
> >
> >
> > _______________________________________________
> > Chameleon mailing list
> > Chameleon at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/chameleon
> >
> 
> --
> +-----------------------------------------------------------------+
> |Paul Spencer                           pspencer at dmsolutions.ca   |
> +-----------------------------------------------------------------+
> |Applications & Software Development                              |
> |DM Solutions Group Inc                 http://www.dmsolutions.ca/|
> +-----------------------------------------------------------------+




More information about the Chameleon mailing list