You are here: Re: [PHP] OT ??: Form posting without leaving form « PHP « IT news, forums, messages
Re: [PHP] OT ??: Form posting without leaving form

Posted by Chris Shiflett on 06/14/05 00:26

Kall, Bruce A. wrote:
> I have a php web page that is a detailed form with a lot of fields. If
> the user does some work on this form and let's it sit, their session can
> time out (I had this happen to the user after it sat for 2 hours). Is
> there some way to have a timer in the page and have partial form results
> sent back to the server, but still leave the form on the screen as-is?

Why not construct your application so that a user can enter the password
again after timing out and continue? If I submit a form, and you tell me
that I've timed out, I should be able to provide my password and not
lose everything. You have all of the data in $_POST or $_GET. Do
something with it. :-)

There may be some client-side way to handle this, but it's definitely
not necessary.

Chris

--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/

 

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

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