Re: Online forms Best Practice

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Mike Smith (test_at_test.com)
Date: 06/28/04


Date: Mon, 28 Jun 2004 13:03:34 +0800

Hey ken thanks for the input..

"Ken Cox [Microsoft MVP]" <BANSPAMken_cox@sympatico.ca> wrote in message
news:eFRaWAMXEHA.3664@TK2MSFTNGP12.phx.gbl...
> Hi Mike,
>
> The safest way is as you suggest: divide up the "pages" and push the data
to
> the database on each button click.
>
> Although you can store the data in a Session, it is riskier because it
> doesn't scale as well and if the user closes the browser prematurely, the
> data is gone.
>
> Ken
>
>
> "Mike Smith" <test@test.com> wrote in message
> news:eJ9ufrLXEHA.4032@TK2MSFTNGP11.phx.gbl...
> > Hey ppl ,
> >
> > Need some input on the following. I'm creating an asp.net site to fill
in
> > an
> > online form. The form has many sub sections and in total is about 8
pages
> > long (hard copy). Whats the best way to put this online ? each actual
form
> > page to be one web page itself ? do i update the data directly to the
> > database on each page to ensure the data is not lost ? Anybody done this
> > before ?
> >
> > Thanks in advance..
> > Hey ppl ,
> >
> > Need some input on the following. I'm creating an asp.net site to fill
in
> > an
> > online form. The form has many sub sections and in total is about 8
pages
> > long (hard copy). Whats the best way to put this online ? each actual
form
> > page to be one web page itself ? do i update the data directly to the
> > database on each page to ensure the data is not lost ? Anybody done this
> > before ?
> >
> > Thanks in advance..
> >
> >
>

---
Outgoing mail is certified Virus Free. (well i'd like to think it is.. )
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.712 / Virus Database: 468 - Release Date: 27/06/2004


Relevant Pages

  • Re: Session or...?
    ... Typically you want to minimize the number of database trips, as well as minimize the amount of information you hold in memory. ... User Credentials, Shopping Cart Contents, Misc Preferences. ... The session would be a good place to store the ID and Qty. ...
    (microsoft.public.dotnet.general)
  • Re: PHP authentication for rookies
    ... >> username and password which you store however you will. ... >> using the php session functions. ... > Are there any advantages to using a database to store user credentials? ... Flat files don't scale or have the ability to do dynamic updates. ...
    (comp.lang.php)
  • Re: PHP MySQL object question
    ... In more complicated applications I layer a business object on top of the database objects. ... For instance, a business object may get information from several different tables, and when you update the data in the business object, it updates the underlying tables. ... Since I am only dealing with one composite record at a time I was planning to store the original field data for before and after comparison to determine when and where updates are needed. ... I could do it as separate session variables, but since each table record will have an associated object, why not just store them that way? ...
    (comp.lang.php)
  • Re: Caching often-used SQL queries
    ... The problem is that neither one of those are user (session) specific. ... need to enable sessions and store the data in the session context. ... Second - you'd be caching so much data that it would ... And if you tune your database server you'll spend much more time processing ...
    (microsoft.public.dotnet.framework.performance)
  • Re: Session sharing between ASP and ASP.NET
    ... In my opinion, and though it may vary depending on the nature of your application, a database to store temporary information based on GUID or some other form of session key generated when the user hits the site and persists during the duration of their visit, would be easier than Yuen's example. ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)