How to add data to the Jtable?

I'm working on a site that involves a lengthy prerelease version where invited users add profile data. Do I need to implement an authenticated login for this, or can I just use serialized urls for them to submit data?

  • For example, the users recieve an email and a url to a form they can add data and later come back and edit.  ie - http://www.example.com/profiles/k_TTHPqxuUPGKpMc8U2zyg Thoughts about this approach? I'm trying to spare people having to reauthenticate when the actual site launches, also this approach seems super simple for the user. The data they would enter is completely professional and is on most of these people's websites. Lemme know if you need more info

  • Answer:

    I would use Ruby's http://ruby-doc.org/stdlib-2.1.0/libdoc/securerandom/rdoc/SecureRandom.html to generate a unique URL for each user. For example "/users/39b290146bea6ce975c37cfc23." You can email them the URL to their form after they've submitted it. Something along the lines of: Hey Brian-- Thanks for submitting my form. You can edit your responses here: http://example.com/users/39b290146bea6ce975c37cfc23 Once you're ready to launch the actual site that has user accounts, you can email the user and create an account: Brian-- We're ready for you to sign up. Please go to http://example.com/users/39b290146bea6ce975c37cfc23/signup to create your account. This way, you don't have to build login functionality during the pre-release, and can securely link their account to their form submissions once you roll out the login functionality.

Anton Zolotov at Quora Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.