[ic] Session Expiration

interchange-users@interchange.redhat.com interchange-users@interchange.redhat.com
Thu Nov 8 10:26:01 2001


On Thu, Nov 08, 2001 at 01:56:15PM +0000, joachim.richter wrote:
> 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)
> 

Put another cookie in using [op header] and set it for a short time
period.  Use javascript to check that cookie and redirect to the login
page if it is not still valid.



> 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
> 
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users

-- 

Christopher F. Miller, Publisher                               cfm@maine.com
MaineStreet Communications, Inc           208 Portland Road, Gray, ME  04039
1.207.657.5078                                         http://www.maine.com/
Content/site management, online commerce, internet integration, Debian linux