CTE Solutions
 Search
Wednesday, December 03, 2008 ..:: Community Forum ::.. Register  Login
 Community Forum Minimize
     
  .NET Development  Everything .NET (Thoughts, Issues, & Concerns)  Capturing Form Data - Best Practices  

 Capturing Form Data - Best Practices 
 
scott.morrison
11 posts
www.ucdsb.on.ca
Capturing Form Data - Best Practices
Posted: 04 Apr 07 8:44 AM (Canada)
 
There are numerous methods on how to capture data from web forms; inserting the data each page to a db, storing the data in session state till the final step, dumping object from page to page, and others. What's the concensus on how people are doing this. I am about to implement a lengthy form across multiple pages and am thinking session state but is tricky due to load balanced web servers and having to store the sessions in a SQL db.
HTroup
2 posts
Re: Capturing Form Data - Best Practices
Posted: 14 May 07 8:12 AM (Canada)
 

The "Best" answer depends on the application; however, it looks like you have only one real possibility.  If you need load balancing to work, then you have to go the db route.  The details will differ...

If you want the multi-page web operation to be cancellable, then you use either throw-away tables or a separate database to store the session. Personally, I'd have a preference for a separate database.  Then the question become what semantics does the application need?  Do you want the incomplete operation to be persistent?  For how long?  Can the user pick and choose between multiple pending operations? (e.g. a blogging application, perhaps.)

 
   .NET Development  Everything .NET (Thoughts, Issues, & Concerns)  Capturing Form Data - Best Practices
 
 
   

Search   

Copyright 2008 Ottawa .NET Community   Terms Of Use  Privacy Statement
Portal engine source code is copyright 2002-2008 by DotNetNuke. All Rights Reserved