[pmwiki-users] Session (or authid?) and fastcache recipe issue

ABClf languefrancaise at gmail.com
Sat Oct 17 07:41:34 PDT 2020


Hello hello,

It looks like I'm having a test page where condition
(:if auth admin:)test(:if:)
 is written (i'm logged as admin of course) ; then saved using
fastcache recipe on page1 (same code saved on page2 with fastcache
recipe disabled).

With fastcache :
1/ Logging out with action=logout
2/ If browsing the page with ?action browse, "test" is not printed (as expected)
3/ If browsing with no action, "test" is printed (unexpected).
(I believe case 2 is because of the action query string ?xxxx, which
tells fastcache not to run).

Without fastcache :
1/ Logging out with action=logout
2/ If browsing the page with ?action browse, "test" is not printed (as expected)
3/ If browsing with no action, test is not printed (expected).

I have read doc, talk and pits and it looks like there might be an
issue with session, when using fastcache.
My config has only one line related to session, at the very top of my
config (just below <!php if (!defined('PmWiki')) :
session_name('ABCLFSESSID');

Does anyone have any idea for getting things to work as expected ? I'm
a bit annoyed as I strongly rely on fastcache for speeding page
processing time and I would like to be able to use conditional (i.e.
ask fastcache to save the reader view page, rather than my admin view
page).



More information about the pmwiki-users mailing list