Forums

SECTOKEN, LightSpeed, session

zest96 12 Jul, 2024

Spent hours :-(

I get : 

  • Your session has timed out or your tried to access a wrong page.

My forms SECTOKEN remains the same after 1 submission, therefore the for is unusable at the same browser more than once.

I've excluded chronoforms from lightspeed cache - doesn't solve the problem

I've turned Lightspeed cache off - no help.

it works fine when preview from admin 

the form is loaded as plugin in an article.

I need a way to clear the session, reset the SECTOKEN or something.

Max_admin 12 Jul, 2024
Answer

Does it work when you preview the form "front view" using the "View" link in the forms manager ?

if yes then just disable the Joomla caching or the caching of this article, or the use the Chronforms module

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rbock 12 Jul, 2024

I have made similar observations in an area. The message appears to come once a day. But I can't define it more precisely yet.

Joomla cache is deactivated! I have also inserted a PHP action with cache header in the form. The message still appears, usually in the morning. Session storage is the file system here.

The form previously ran under CF7. There were no session expired messages here.

zest96 12 Jul, 2024

Hi Max,

This is LightSpeed cache, it's not joomla cache, it's the server running the apache as lightspeed.

with CF5 I didn't have this problem, so I guess you might know what's the difference.

I change the cache TTL to 1 minute so it revalidates the private cache the SECTOKEN can renew (if that's the case?).

I'll try to randomize a url query string and redirect the page after submission, but I need your help.

I remember few years ago in CC6 or something, there was a shortcode to redirect the page to self. 

something like {url:_self} or a clear cache shortcode, or i'll add the parameter to the same url page of the after submit.

Can you point me to a list of shortcodes which work in CF8 ?

you can see the form here: https://www.simada.co.il/%D7%94%D7%96%D7%9E%D7%A0%D7%AA-%D7%9B%D7%99%D7%9E%D7%99%D7%A7%D7%9C%D7%99%D7%9D

the top blue button is a repeater button. 

You need to login to be able to post a reply.