You are here: Re: PHP sessions - user login webpage - preventing autologout due to inactivity « PHP Programming Language « IT news, forums, messages
Re: PHP sessions - user login webpage - preventing autologout due to inactivity

Posted by d on 07/01/38 11:37

"Dave Smithz" <dave1900@blueyonder.co.uk> wrote in message
news:x6Ayf.136806$D47.127084@fe3.news.blueyonder.co.uk...
>
> "Gordon Burditt" <gordonb.vjmuh@burditt.org> wrote in message
> news:11slek12mk0qd6@corp.supernews.com...
>
> Not yet having a moment to look into your suggestions, the actual
> behaviour my client complained about was that they were being logged out
> too quickly. Therefore they had circumstances where they typed a whole
> screen of text, pressed a save button and then found they were logged out.
>
> They probably would not care if it took a week to log out, but I would
> certainly like be able to extend it to cover there working day (8 hours or
> so) rather then the current 1.5 hours it seems to be.
>
> So any advice in this direction is welcome (but of course I do want to
> establish a general understanding for better control).
>
> Cheers

Why don't you just have your site save a draft of the text every minute or
so. You could have some javascript that copies out the contents of the form
the user is editing into an identical form in a hidden iframe, then submit
the hidden form back to itself. Hey presto - your draft has been saved, and
the session is used once more.

dave

> Dave
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация