Not sure why this is not working... But I'll take your word for it.
We could rewrite the persist plugin to not act if $_GET['myid'] is
set.
In BoltWire, the syntax you would use is this:
[if ! set {?myid}]<(persist)>[if]
The first checks to see if the get value myid is set. The <( )> is a
special syntax for functions that is processed after conditionals.
Otherwise [( )] would be processed before the conditional is ever
checked.
Cheers,
Dan
On Sun, Oct 4, 2009 at 12:01 AM, Kevin <[email protected]> wrote:
>
> If you are using the switchUser plugin, and have [(persist)] in your top
> zone, it may no longer work. Seems that it sees the persist and undoes or
> ignores the &myid=xxxx setting (removing it from the URL).
>
> Figure I could do a check for myid setting and if set don't do the persist
> or perhaps the persist login should pass on existing arguments on the URL.
>
> Thought I could do something like:
>
> [if ! session myid][(persist)][if]
>
> But didn't work. Not sure how to test to see if myid is active...
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---