[Xerte] Re: XOT

Pat Lockley patrick.lockley at googlemail.com
Tue Feb 28 22:52:59 GMT 2012


I rewrote XOT to allow for sessions in the database, but php 4 at nottingham supported database sessions but php 5 didn't and I couldn't find out why (it was 1 day before I left).

In theory using the sessions table would reduce the possibility of the session expiring, and tying in the session deleting to lockfile deleting is neat. But ideally the window closing should remove the file.

Maybe some sort of XOT_Cron could be triggered by hitting config.php

Feels like a rewrite......

On 28 Feb 2012, at 22:42, Paul Swanson <Paul.Swanson at harlandfs.com> wrote:

> Pat,
> 
> How about a table in MySQL that stores the open LO file name and a
> session cookie file name (session cookie could store name of person
> editing the LO) when it is opened/created. Then when someone else
> attempts to open the LO, check the db for the session cookie name and
> see if the cookie still exists? Deny access if the cookie still exists.
> Garbage collection should handle deleting the cookie if the person
> closes browser without logging out. Is that idea cunning enough?
> 
> Paul
> 
> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: Tuesday, February 28, 2012 2:19 PM
> To: Xerte discussion list
> Subject: [Xerte] Re: XOT
> 
> Hi Jason,
> 
> It's great to see the The fire service using XOT.
> 
> I can only comment on the second point directly. 
> 
> When a shared project is edited, it creates a file on the system to stop
> someone else editing it. The editor window closing should delete this
> file. Sadly like on say Facebook, a user's session can expire and then
> the system can't delete the file.
> 
> Whenever we tested it, it worked, but this problem came up so we made
> the change to warn people - it used to stop people completely.
> 
> Without some cunning idea code wise to stop it, it's a headache but it's
> probably the safest option - two people editing at once could corrupt a
> file.
> 
> I know it's not the best answer, but will start off a chat on the
> developer list to see what comes up.
> 
> Pat
> 
> On 28 Feb 2012, at 21:52, Bardell Jason <jason.bardell at kent.fire-uk.org>
> wrote:
> 
>> Hello
>> 
>> We are using XOT as part of a regional project, I have noticed a few
> quirks which you may already be aware of, if you are could you point me
> in the right direction to sort them out?
>> 
>> Firstly when using the 'Multiple perspectives' slide, we have found
> that when you add videos of 7 or more you get a scroll arrow what should
> allow you to scroll to the videos that are there but can't be seen by
> the user, instead when the learner clicks on the scroll arrow the LO
> turns grey and nothing is viewable. We have restricted to loading only 5
> videos to each slide as an interim measure but wondered how we could fix
> this please?
>> 
>> Secondly on a couple of occasions when 2 people have shared LO's to
> edit and produce, they have been greeted with a page that says something
> similar to 'person 'x' (their username) is working on this LO, if you
> continue you could lose work(or similar)'. This has happened on a number
> of occasions and each time we have confirmed through telephone calls
> that the other person is not online & therefore not editing the LO. Is
> there something we should be specifically doing when sharing objects to
> close them down?
>> 
>> Thirdly, when using timeline/matching pairs we have a 'glitch' where
> the 'green ticks' for the correct answers hasn't been correct. The
> example in question has four questions and four possible drag and drop
> options, twice we have had it that the learner has scored 3 out of 4,
> and not the true result of 4 out of 4, I attach a screen shot for you
> that captures this.
>> 
>> It is worth adding that although I have full administrative
> privileges, I am by no means a technical whiz and you might need to
> explain a step by step process to get me though any answer you may have
> for this.
>> 
>> It is also worth adding that XOT is a great authoring tool and we are
> enjoying creating LO's and getting learners involved. Thank you for such
> a great and useful tool!
>> 
>> Regards
>> 
>> Jason
>> 
>> Jason Bardell | Station Manager | Organisational Development | Kent
> Fire & Rescue Service | T: 01622 692121 Extn 6183  | M: 07967332236
>> 
>> 
>> 
>> 
>> 
>> ____________________________________________
>> This e-mail has been scanned for malicious content.
>> 
>> For more information about Kent Fire & Rescue Service visit:
> http://www.kent.fire-uk.org
>> 
>> Kent Fire & Rescue Service logs, records and reserves the right to
> analyse and act upon activity and communication on its Information
> Systems (including external systems such as external e-mail, emergency
> telephony etc), to meet our statutory responsibilities, protect systems
> from abuse, secure the effective operation of systems and any other
> lawful purpose.
>> 
>> This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this
> message in error, please send it back to me, and immediately delete it.
> Please do not use, copy or disclose the information contained in this
> message or in any attachment.  Any views or opinions expressed by the
> author of this email do not necessarily reflect the views of the
> University of Nottingham.
>> 
>> This message has been checked for viruses but the contents of an
> attachment
>> may still contain software viruses which could damage your computer
> system:
>> you are advised to perform your own checks. Email communications with
> the
>> University of Nottingham may be monitored as permitted by UK
> legislation.
>> <Doc1.docx>
>> _______________________________________________
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>> 
>> This message and any attachment are intended solely for the addressee
> and may contain confidential information. If you have received this
> message in error, please send it back to me, and immediately delete it.
> Please do not use, copy or disclose the information contained in this
> message or in any attachment.  Any views or opinions expressed by the
> author of this email do not necessarily reflect the views of the
> University of Nottingham.
>> 
>> This message has been checked for viruses but the contents of an
> attachment
>> may still contain software viruses which could damage your computer
> system:
>> you are advised to perform your own checks. Email communications with
> the
>> University of Nottingham may be monitored as permitted by UK
> legislation.
>> 
> 
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> 
> 
> 
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte



More information about the Xerte mailing list