Is it possible to programmatically change the session expirary seconds, and only have the change take effect for a single session?
If so, then when a search engine bot visits a Seaside site, we could make the pages of that session not expire until the next time a bot from that same search engine visits again.
I believe doing this would make a Seaside app spider-friendly. Pages that the spider-bot records with the search engine would then not expire until the next time the bot revisits.
Comments?
Nevin
Well you could subclass WASession and override #isActive and have it check for an instance variable.
Julian
Nevin Pratt wrote:
Is it possible to programmatically change the session expirary seconds, and only have the change take effect for a single session?
If so, then when a search engine bot visits a Seaside site, we could make the pages of that session not expire until the next time a bot from that same search engine visits again.
I believe doing this would make a Seaside app spider-friendly. Pages that the spider-bot records with the search engine would then not expire until the next time the bot revisits.
Comments?
Nevin
seaside@lists.squeakfoundation.org