LiveCode Server - Passing Information From Web Page to Web Page

Richard Gaskin ambassador at fourthworld.com
Thu Dec 12 15:33:08 EST 2013


Gregory Lypny wrote:

 > I want to track my students as they navigate from page to page on
 > my website so that I can fill the pages with content that is
 > appropriate for each one and so that they need not reenter a student
 > ID and password every time they submit a form (quizzes, assignment
 > uploads, etc.). It was suggested that I avoid using cookies, and
 > instead, create unique session IDs that would be stored on the server
 > in a text file associated with their student ID. No problem creating
 > the session IDs and storing them, but I am at a loss as how I can
 > pass them from page to page. If I place a hidden form field on each
 > page, I can have the value of the field set to the session ID, and
 > that will work fine if the page has an actual form with a submit
 > button that students are intended to use. But if the page is one
 > where there is nothing for the student to submit themselves, I don’t
 > know how to pass along the value of the hidden field. I would like it
 > passed along whenever a student clicks a link to go to another page.

Sounds like a good fit for cookies.

--
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  Follow me on Twitter:  http://twitter.com/FourthWorldSys




More information about the Use-livecode mailing list