Forums

Error : Your session has timed out or you tried to access the wrong page

jformicola 16 Nov, 2023
My form intermittently throws this error and I don't think it's because of a time out. I set the time out in joomla to hours and I've seen it occur after submitting the form in probably under a minute. Please help.

Error : Your session has timed out or you tried to access the wrong page
Max_admin 16 Nov, 2023
it can be a problem with cookies on the browser you are using or the browser reloading the page using some plugin, please try on a different browser
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jformicola 17 Nov, 2023
I'm just using chrome standard settings and I don't think I have any plugins. I saw on another thread that it is some sort of security token thing new to version 8. Is there any turning it off? My company isn't going to change the browser for all it's users because of this issue. I'm so close to being happy with this form.

Thanks Max
Max_admin 17 Nov, 2023
did the form start throwing this error suddenly ? do you have other forms with the same problem on the same website ?

The security token is using sessions, this problem means a problem with sessions or cookies or something double loading the page
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jformicola 17 Nov, 2023
Not suddenly, it's unfortunately seems to be intermittent (worst kind of issue, right?), with us not being able to figure out any rhyme or reason as to why it happens. I remember when we were testing the form, my HR director received the error, but then in further testing it didn't happen, so I thought maybe it wasn't an issue anymore. Then we rolled it out to our sites and of course it starts happening. I saw it myself from my machine.

I have not seen it on the other couple of forms I have on version 8, but those aren't submitted regularly. It's possible I could still encounter it in the future. If you think it's specific to that form, what kind of things might cause it?

Thank you.
Max_admin 17 Nov, 2023
the error means that you tried to submit the form but the token does not match the one is your session, this may be caused by the session being lost or broken, but I do not know what is causing this for you

did you block cookies or anything like that ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jformicola 17 Nov, 2023
No we do not block cookies. Thanks Max.
Max_admin 17 Nov, 2023
it's something related to sessions, I can not tell what unfortunately, if it happens on different machines/browsers then try to change the session handler in Joomla global config
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jformicola 17 Nov, 2023
Do you mean change the session handler to "Filesystem" (I'm on database now). It seems risky, will try on off hours.

also I have "shared session" and "track sessions metata data" set to no. Does that sound right? Or should I turn shared session on?

https://help.joomla.org/proxy?keyref=Help40:Site_Global_Configuration&lang=en#Session_Settings

Thanks Max
andok 03 Mar, 2025

I have same problem at the moment and wondering if you found the solution? 

Max_admin 03 Mar, 2025

Hi andok

Do you display the form using the menu item or inside an article or using the plugin ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
andok 07 Mar, 2025
1 Likes

Hi Max, Many thanks for your reply.I do display form using menu item, but deactivating Ajax solved it for me🥳 

Max_admin 07 Mar, 2025

Hi andok

Thank you for posting the solution, I have tested AJAX here and it worked fine, but maybe there is a conflict with some setting in your form/page

When you have time you may check if it does work with AJAX when you "Preview" the form in the admin area or not ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
andok 07 Mar, 2025

I just tested it: If AJAX is activated, it is not working at the backend preview as well. As you said it can be really there is a conflict with some other components or settings. Here I want to send you some screenshots. 

4 pages without AJAX:

Now AJAX activated:

first page is ok, but second and following pages are seems like below:

The last page with a huge icon I don't want to paste it here. Actually now I don't see any error code around even if I activate AJAX. Before was same look with the "Error : Your session has timed out or you tried to access the wrong page" top of the page

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