You are here: RE: [PHP] Multipage form redux « PHP « IT news, forums, messages
RE: [PHP] Multipage form redux

Posted by Jim Moseby on 11/14/00 11:22

>
> "André Medeiros" <andre.caum@gmail.com> wrote in message
> news:1122558897.3590.11.camel@vaio...
> > The point of sessions is that when you close your browser,
> you loose it.
> > I'm affraid that if you want sessions that last two weeks,
> you'll have
> > to make your own session handler :) but yeah, it's possible, and it
> > beats the crap out of the "fill form, store in db, fill
> form, store in
> > db" method.
>
> Unless your user wishes to complete the form from a different
> machine, of
> course.
>
> I really don't understand the dogmatic antipathy to storing
> information in
> the database. Sometimes it is a better solution - horses for courses.
> Rolling your own session management tool, whilst undoubtedly fun and
> satisfying, is hardly an appropriate solution to this type of
> enquiry, which
> is apparently from someone taking their first steps in web
> development.
>
> I should probably explain that I come from an ASP background
> and so have an
> inherent mistrust of sessions, although I am coming to
> understand that PHP
> sessions are much more reliable.
>

I agree. In this case, it is my opinion that storing data in the DB after
each successful page is the best solution. I would be interested to hear
why it is a bad idea.

JM

 

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

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