redirect to login page when session is timeout

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • priyanka b
    New Member
    • Aug 2011
    • 1

    redirect to login page when session is timeout

    my webpage is a js iframe with modules in jsp and php. one php module is an iframe by itself i have to redirect to the js iframe login page when session is timeout. Only the php iframe does not redirect automatically like my other php modules. only when a menu of the iframe is clicked it is redirected
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Do you mean as soon as the session times out? You could add use setInterval() to make periodic checks to a script (Ajax) which checks if the session is still valid.

    Comment

    Working...