RE: Multipage form redux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> "André Medeiros" <andre.caum@xxxxxxxxx> wrote in message
> news:1122558897.3590.11.camel@xxxxxxx
> > 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux