Please help!
When my users log in over the web, I need my app to write two cookies, one that captures their user name and one that captures their employee ID. I have created a form for the ‘home page’ that prompts them to log in, and then put two fields on there that are populated with their user name (Name) and their Employee ID (EmployeeID). Please can someone tell me how to write these fields to a cookie each? I am very new to javascript and have been playing with some downloaded examples, but they don’t seem to help. One captured the server name in the cookie and I need it to capture just the domain.
Finally (!)please could someone explain where to put the code on the form? I.e. OnLoad? etc etc or do I just put it on the form and ‘pass through HTML’???
Any help would be gratefully received !!!
Thanks