Discussion:
[TYPO3-english] Powermail problem - session problem?
Brian Bendtsen
13 years ago
Permalink
Hi

I have a site that runs TYPO3 4.5.12 and powermail 1.6.3. I have a lot
of powermail forms on the site. The problem is that when I send data
using one form the email/database entry looks fine, but sending another
form afterwards the fields form prior form is appended to the
email/database entry in this form.

It has something to do with session data. I have tried deleting session
cookies after sending form one and then the second email/database entry
looks fine.

Any advice?
--
Best Regards

Brian Bendtsen
Robert Wildling
13 years ago
Permalink
A well-known probelm without a real solution...

Just some ideas:

Did you try
plugin.powermail.clear.session = 1
(doesn't really reset all forms on all sites)

With FE-User Management:
Shorten the Session settings in the install tool?

On pages with form insert an additional TS Snippet:
page.headerData.10 = TEXT
page.headerData.10.value = <meta http-equiv="expires" content="0">

Or via "edit page": -> Behaviour ->Caching: Cache Life Time -> disable

Sometimes it is also the setting of the browser itself (automatic
prefill, e.g.)

Easy way: include a Reset-button in each form

Good luck!
Post by Brian Bendtsen
Hi
I have a site that runs TYPO3 4.5.12 and powermail 1.6.3. I have a lot
of powermail forms on the site. The problem is that when I send data
using one form the email/database entry looks fine, but sending another
form afterwards the fields form prior form is appended to the
email/database entry in this form.
It has something to do with session data. I have tried deleting session
cookies after sending form one and then the second email/database entry
looks fine.
Any advice?
Brian Bendtsen
13 years ago
Permalink
...
Hi

The ts setting plugin.powermail.clear.session is set to 1 and I know,
without this, the forms will display previously entered information.
That is not the problem I'm refering to.

The problem is related to the data actually being sent and shown in the
email and stored in the database.

An example from the "All values" field of a powermail, lets name it Y:

<piVars>
<uid2359>Some data</uid2359>
<uid2360>Some data</uid2360>
<uid2361>Some data</uid2361>
<uid2362>Some data</uid2362>
<uid2363 type="array">
<numIndex index="0"></numIndex>
<numIndex index="1"></numIndex>
<numIndex index="2"></numIndex>
<numIndex index="3">Some data</numIndex>
<numIndex index="4">Some data</numIndex>
</uid2363>
<uid2751 type="array">
<numIndex index="0"></numIndex>
<numIndex index="1">Some data</numIndex>
<numIndex index="2">Some data</numIndex>
</uid2751>
<uid2945>Some data</uid2945>
<uid2949>Some data</uid2949>
<uid2950></uid2950>
<uid2946>Some data</uid2946>
<uid2947></uid2947>
<uid3003>Some data</uid3003>
<uid3005>Some data</uid3005>
</piVars>

Fields uid2359 to uid2751 is not actually part of powermail Y, its part
of powermail X, that was submitted before Y.
--
Best Regards

Brian Bendtsen
Michael Cannon
13 years ago
Permalink
Alex says...

Seems to me that this is part of configuration work:****

Adding form one, send it, rename it, add a new one, etc?****

Clear the Browser Sessions and try again****

** **

Alex Kellner

Michael
--
Michael Cannon
The TYPO3 Vagabond <http://typo3vagabond.com> @ in2code.de
Been there, done that, 25 years of coding
Germany +49 (0)160 574 1973
US +1 617 539 6072
http://typo3vagabond.com
Brian Bendtsen
13 years ago
Permalink
Post by Michael Cannon
Alex says...
Seems to me that this is part of configuration work:****
Adding form one, send it, rename it, add a new one, etc?****
Clear the Browser Sessions and try again****
** **
Alex Kellner
Michael
--
Michael Cannon
Been there, done that, 25 years of coding
Germany +49 (0)160 574 1973
US +1 617 539 6072
http://typo3vagabond.com
Hi Michael

A bit confused about your post. Are you refering to a conversion you
have had with Alex Kellner or the manual? Would be nice to see the whole
answer if available
--
Med venlig hilsen/Best Regards

Brian Bendtsen
TYPO3 Konsulent/Udvikler
Attensa
Website: http://www.attensa.dk
Muriel le Pair
13 years ago
Permalink
Post by Brian Bendtsen
Hi
I have a site that runs TYPO3 4.5.12 and powermail 1.6.3. I have a lot
of powermail forms on the site. The problem is that when I send data
using one form the email/database entry looks fine, but sending another
form afterwards the fields form prior form is appended to the
email/database entry in this form.
It has something to do with session data. I have tried deleting session
cookies after sending form one and then the second email/database entry
looks fine.
Any advice?
Hi,

I have the same problem here in version 1.6.8, it seems to be a bug,
because it works fine in version 1.6.4.

--
kind regards,

Muriel le Pair

Loading...