Cookie to auto update form

bandicoot3141
bandicoot3141 used Ask the Experts™
on
Hello, I am not a programmer, but I need a way to do the following:
User inputs data into form (selection windows and text boxes) and saves the form data (to a cookie?).
Another user opens the form, and it is automatically updated to show the last user's input.
Second user updates and saves the form.

Is this possible? Thanks for any help.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
if this is going to happen on the same computer then you could use a cookie but if user 1 uses a different computer than user 2 you would have to use a database to populate the form with the last persons entries.

what programming language are you going to use?
Top Expert 2013

Commented:
You cannot use a cookie to transfer information unless both users are using the same computer.  You need to keep the information in a database on teh server.

Cd&
uh, that's what i said dude...hee hee
Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Top Expert 2013

Commented:
Then you must be right. ;^)

Sorry, I wasn't paying attention.

Cd&

Author

Commented:
Thanks, folks. I am using HTML, and figured if I put the form plus the cookie it writes on our intranet server, all networked users would have access to it. I can set this up with our administrator, just looking for the code to get the form working.
Top Expert 2013

Commented:
The cookie gets written on the local user's computer.  It is not sent to the server.  However if the data is already in the form, then when the form is sent, the server side script that processes it will be able to save it to the database.  So when the form is requested by a user, the script that generates the page must get the data from the database to populate the form.

Cd&
yup, just as we both said already.  You cannot use cookies or sessions to store data for more than 1 computer...you must use a database or flatfile of some sort.

 ~ MastaLlama ~

Author

Commented:
The form can't write the cookie to the server even if both are on the server, and the users have access to the server?
Top Expert 2013

Commented:
A cookie is a text file on the user's computer, stored in the temporary internet files.  The web page can read the cookie and move the contents to form fields to send to the server, but it cannot send the cookie.  

On the server side, the processing script for the page will need to know how to process the information sent across.  Each user's computer has its own cookie, it is not a shared resource.

Cd&

Author

Commented:
Well, there goes that idea, then! How would I go about using the database then...is Excel OK for this?

Commented:
access it would be better
"unsubscribing"
Top Expert 2013

Commented:
This question has been abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.
<note>
   In the absence of responses, I may recommend DELETE unless it is clear
   to me that it has value as a PAQ.  Silence = you don't care
</note>

Cd&
Top Expert 2013

Commented:
It is time to clean this abandoned question up.  

I am putting it on a clean up list for CS.

<recommendation>
split mastallama and COBOLdinosaur

</recommendation>

If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.

Cd&
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange

COBOLdinosaur points for you at:
http://www.experts-exchange.com/Web/Web_Languages/Q_20541209.html

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial