Gary
asked on
Reload main page on session timeout from frame
How can I reload the main page once a session times out i.e. if they click a link within a frame how do I instruct the main page to reload if the session has expired.
They click a link the page reloads, the session("userid") is checked and if round to be empty then I need to get them to relogin in - I suppose I could just use an intermediary page to show in the frame for them to login again but prefer to redirect back to the index page - as this has some security implications.
They click a link the page reloads, the session("userid") is checked and if round to be empty then I need to get them to relogin in - I suppose I could just use an intermediary page to show in the frame for them to login again but prefer to redirect back to the index page - as this has some security implications.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
D'oh, so obvious - been a long day!
No problem! Glad I could help you out.
Regards,
peh803
Regards,
peh803
"...if it has, write JS code..."
to be clearer:
"...if the session has indeed expired, write JS code..."
HTH,
peh803