Thank you for the reply

I solved the problem by using the following code:
 @expose()
    def index(self):
        cherrypy.response.headers['Cache-Control'] = 'no-cache, no-
store, must-revalidate'
        cherrypy.response.headers['Pragma'] = 'no-cache'
        cherrypy.response.headers['Expires']= 0
        raise redirect('anotherpage')

Now IE7 is not caching the page. We can redirect to a login page now.
I did not tested any other browsers yet.
I would like to hear your suggestions.


> It is unsolvable. You do not have control on the used browser (except
> the one you are using yourself).
> One possibility is using AJAX. You the only have one page, so there is
> no back page. ;-}
>
Sure Mr Cecil Westerhof. If we need to fix the problem in all
browsers, we may need to do more.
About your AJAX suggestion, do we need to reload the page everytime by
using AJAX? Is that you have mentioned?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to