LiveCode Server - Passing Information From Web Page to Web Page

Mike Bonner bonnmike at gmail.com
Thu Dec 12 16:17:47 EST 2013


There is a simple example of session control in this thread.
http://forums.runrev.com/viewtopic.php?f=15&t=10787&p=50056&hilit=session#p50034
Pretty easy to carry information forward from page to page. Be aware,
there was a version of lc server (community) that had problems with
externals loading which caused sessions to stop working.  I forget which
version it was, but think the newest, and oldest version of lc server is
working now. (not positive, haven't messed with things in a while)


On Thu, Dec 12, 2013 at 1:41 PM, Andrew Kluthe <andrew at ctech.me> wrote:

> store some additional info about the client connecting to associate with
> the session ids?
>
> ip address, a hash of the ipaddress and the user agent, something similar?
>
>
> On Thu, Dec 12, 2013 at 2:33 PM, Richard Gaskin
> <ambassador at fourthworld.com>wrote:
>
> > 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
> >
> >
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
>
>
>
> --
> Regards,
>
> Andrew Kluthe
> andrew at ctech.me
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the Use-livecode mailing list