List Info

Thread: Reloading a page




Reloading a page
user name
2007-03-10 00:24:13
I am currently using the session_auth module provide by
cherrypy for
login validation.  I have the following snippet of code:

def index(self):
  If checkCookieExpired():  #checks some values to see if we
need to
force a login again
    cherrypy.session.delete()
    #Want to call index again and get the login screen.

  #do other stuff

How would I go about "reloading" the page in order
to go through the
login again.  Right now the user is just reloading the page
in the
browser, but I would like an automatic redirect.

Thanks,

Nate L.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )