The plugin is the ’OnWebPagePrerender’ FileDownloadPlugin.
I do count a limiter variable down in this plugin each time a link is clicked.
On the page I load content depending on this counter.
My problem is, when the plugin decreases the counter to ’zero’ I can’t refresh the page after the readfile() command during the ’OnWebPagePrerender’ event. So the page stays on it’s previos state.
I can refresh before the readfile() command but it doesn’t get executed then.
Edit: I tried to put [tt]’refresh: 0; url=’.$url[/tt] and [tt]’location:’.$url[/tt] in the file header: it doesn’t do the job.
Has you any ideas? Thanks!