Share » Forums » Developer » Exclude URI from the "LastAccessURI"...

Exclude URI from the "LastAccessURI" recording system ?

Exclude URI from the "LastAccessURI" recording system ?

Wednesday 14 May 2008 2:23:18 am - 2 replies

Author Message

André R.

Wednesday 14 May 2008 3:33:11 am

A. Hack index.php and avoid storing the session if request is ajax request (X-Requested-With http header is quite common)

B. make sure all views you use this way properly exit's in the end of the view php code so that session code never run on them.
Try something like this:

eZExecution::cleanup();
eZExecution::setCleanExit();
exit;

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

H-Works Agency

Wednesday 14 May 2008 3:47:04 am

Arghh it doesn't seems usable for my case.

In fact the pages i need to avoid doesn't rely on a custom php file...they are usually using the classical content/view system.

And i can't modify base file so won't be able to edit index.php.

Thanx for your help anyway.

Martin

EZP is Great

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu