[Chameleon] SessionExpired

Liz Godwin godwin.liz at gmail.com
Mon Nov 21 12:27:20 EST 2005


Does someone have an example of SessionExpired widget being used with a
template?

It is failing for me when I use it. I get an error that ParseURL has failed,
and my old template is used, not the one I pass.

Alternatively - are my expectations for this widget off?

Liz

On 11/17/05, Liz Godwin <godwin.liz at gmail.com> wrote:
>
> I've reduced my template to verry little, and it is now working with text.
> So I have to find my intervening widget culprit.
>
> Question though - if I am to use a template for the invalid session - what
> path do i pass? full/url... ??
> Does it require "SessionExpired" in it's name? (see line 276 ish of
> chameleon.php
>
> Liz
>
>
> On 11/17/05, Liz Godwin <godwin.liz at gmail.com> wrote:
> >
> > I have tried both. My latest test was option 2, a full closing tag -
> > sorry - the example I gave was typed by me, and I included two closing tags
> > inadvertainly.
> >
> > It is precisely the following:
> > <cwc2 type="SessionExpired" text="blah blah blah"></cwc2>
> >
> > I will add that I am getting an additional error message when I include
> > this widget:
> > PHP Notice: A session had already been started - ignoring
> > session_start() in C:\ms4w\apps\chameleon-
> > 2.2\htdocs\common\session\session.php on line 509
> >
> > I have not yet been able to figure it out - but I'm actively working on
> > it.
> >
> > Liz
> >
> > On 11/17/05, Bart van den Eijnden < BEN at syncera-itsolutions.nl> wrote:
> > >
> > > Hi Liz,
> > >
> > > I don't know if it is the problem, but you have a double closing tag.
> > >
> > > So try:
> > > <cwc2 type="SessionExpired" text="blah blah blah" />
> > >
> > > or:
> > > <cwc2 type="SessionExpired" text="blah blah blah"></cwc2>
> > >
> > > Best regards,
> > > Bart
> > >
> > > Bart van den Eijnden
> > > Syncera IT Solutions
> > > Postbus 270
> > > 2600 AG DELFT
> > >
> > > tel.nr <http://tel.nr>.: 015-7512436
> > > email: BEN at Syncera-ITSolutions.nl
> > >
> > > >>> Liz Godwin <godwin.liz at gmail.com> 17-11-2005 16:06:34 >>>
> > > I am having difficulty using the SessionExpired widget in my
> > > templates.
> > >
> > > I have inserted the following obvious widget into my template, in an
> > > area
> > > within the body and form of the page:
> > > <cwc2 type="SessionExpired" text="blah blah blah" /></cwc2>
> > >
> > > I have done this on previous applications published with an odd
> > > cvs-ish
> > > version (1.99 ish) where it worked fine.
> > >
> > > Now in Chameleon 2.2, I still get the deault empty page with "Your
> > > session
> > > is invalid or has expired."
> > > It seems the ParseURL in the SessionExpired widget is not actually
> > > running.
> > > I would really like it to run instead with a template of my choosing,
> > > but
> > > that's not working either. I'm trying to get text working first.
> > >
> > > Anyone have any idea where I might start looking for the problem? I've
> > > already compared the two widgets and they have not changed, apart from
> > > the
> > > addition of a MATURITY_BETA which is above my current level of ALPHA
> > > during
> > > development.
> > >
> > > Cheers,
> > >
> > > Liz
> > >
> > >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20051121/b0541f3d/attachment.html


More information about the Chameleon mailing list