[ic] Session Expiration

joachim.richter interchange-users@interchange.redhat.com
Thu Nov 8 09:58:00 2001


Hi all,

On the Apple Homepage I found an interesting feature.

After logging in and being inactive for a certain amount of time you are redirected
to a page that says something like :

For security reasons you have to log in again bla bla bla

Can we do this as well ? Does anybody have a clue how to accomplish this ?
What about this idea ? (We are using interchange 4.8)

If I put this in all of the top regions :

<script language="JavaScript">
function GetURL() {
window.location.href="http://www.somewhere/you_outta_here"
}
</script>

<body bgcolor="#FFFFFF" onLoad="window.setTimeout('GetURL()',7777)">

Then the 'GetURL()',7777)"> would have to be changed to an amount of time equal
to the session expire time.

Question now would be : 

when does the normal session expire ?
I have not found the entry "SessionExpire" in the catalog.cfg,
is it ok to put the entry there again ?

And what about the idea just to set the time of the javascript (thats the 7777)
to any desired time and the path of the window.location to the logout page.

Which would leave only one question what does 7777 stand for timewise,
are they miliseconds?

Input will be appreciated.#
US Video Center Medien GmbH
Heimsheimer Str 22
70499 Stuttgart

Tel 0711 880252 0
Fax 0711 880252 22
Email joachim.richter@usvideocenter.de