[Using Sakai] [sakai-kaltura] How do you approach Sakai timeouts when viewing long video content

Rebecca L Darling rdarling at wellesley.edu
Wed Dec 14 16:04:12 PST 2011


Thanks so much for the feedback. We've decided to keep things simple and
extend our Sakai timeout.
Becca


On Tue, Nov 29, 2011 at 12:05 PM, Liu, Peter <peter.liu at yale.edu> wrote:

>  At Yale, we have simply put a Javascript at the uploadMadia.jsp page as
> following****
>
> ** **
>
> -Add the line below inside your jsp page****
>
> <img id="keepAliveIMG" width="1" height="1" src="images/video.png?" />****
>
> ** **
>
> --Appending the following javascript in your page****
>
> <script>****
>
> function keepMeAlive(imgName) {****
>
>         myImg = document.getElementById(imgName);****
>
>         if (myImg) ****
>
>             myImg.src = myImg.src.replace(/\?.*$/, '?' +
> Math.random());             ****
>
>      }****
>
> ** **
>
> window.setInterval("keepMeAlive('keepAliveIMG')", 120000);//2-minutes****
>
> </script>****
>
> ** **
>
> Basically, it will pull the image every 2 minutes to keep session alive.**
> **
>
> ** **
>
> You can do this on any page, which it might be running out the session.***
> *
>
> ** **
>
> Thanks,****
>
> Peter****
>
> ** **
>
> *From:* sakai-user-bounces at collab.sakaiproject.org [mailto:
> sakai-user-bounces at collab.sakaiproject.org] *On Behalf Of *Matthew Jones
> *Sent:* Tuesday, November 29, 2011 10:28 AM
> *To:* Rebecca L Darling
> *Cc:* Sakai User; Hirsch, David; jama coartney;
> sakai-kaltura at collab.sakaiproject.org
> *Subject:* Re: [Using Sakai] [sakai-kaltura] How do you approach Sakai
> timeouts when viewing long video content****
>
> ** **
>
> You can refresh the users session by periodically polling ****
>
> <servername>/direct/session/current****
>
> ** **
>
> Hitting this url will update the session time. If it's not on the same
> domain, you might not be able to get at the values but that wouldn't be
> important. ****
>
> ** **
>
> You'd probably have to add some javascript to Kaltura or if you're using
> the Sakai kaltura tool to do it. This sounds like what David did?****
>
> ** **
>
> A long timeout doesn't seem like that big of a deal anymore though either.
> All of the big platforms (GmailFacebook/Twitter/etc) seems to have nearly
> unlimited length sessions. I've never seen a logout message on any of those
> sites. I think students would be risking a lot more (socially) if they left
> a public computer logged in nowadays while remaining logged into those
> services. ;) ****
>
> ** **
>
> -Matthew****
>
> ** **
>
> On Tue, Nov 29, 2011 at 10:09 AM, Rebecca L Darling <
> rdarling at wellesley.edu> wrote:****
>
> Thanks so much for your replies. ****
>
> ** **
>
> Jama, would you be able to tell me what your Sakai time-out is set to?****
>
> ** **
>
> David, that Media Gallery modification sounds like it might be what we're
> looking for. Would it be something you're able to share with us?****
>
> ** **
>
> Mathieu, I agree. I don't know if a separate window is the solution, but
> we can explore it.  ****
>
> ** **
>
> Thanks again!****
>
> Becca****
>
> On Tue, Nov 29, 2011 at 10:00 AM, Hirsch, David <david.hirsch at yale.edu>
> wrote:****
>
> We haven't had this problem reported at Yale, either, but we modified our
> Media Gallery (SKE) tool so that it simulates activity on the page every
> 10-15 seconds.  We did this because faculty were reporting their Sakai
> session would time out while uploading a very large media file to Kaltura
> via Media Gallery.  I'm guessing that the same simulated activity would
> prevent students' sessions from timing out as long as their browser remains
> on the tool page.****
>
> ** **
>
> ______________________________________________________****
>
> ** **
>
> David Hirsch ****
>
> Associate Director****
>
> The Center for Media and Instructional Innovation (CMI2)****
>
> http://cmi2.yale.edu****
>
> ** **
>
> Yale University****
>
> 25 Science Park 6th floor****
>
> P.O. Box 208352****
>
> New Haven, CT  06520-8352****
>
> ** **
>
> Office: 203.432.5229****
>
> ** **
>
> *From: *jama coartney <jsc3x at virginia.edu>
> *Date: *Tue, 29 Nov 2011 09:56:00 -0500
> *To: *Rebecca L Darling <rdarling at wellesley.edu>
> *Cc: *Sakai User <sakai-user at collab.sakaiproject.org>, <
> sakai-kaltura at collab.sakaiproject.org>
> *Subject: *Re: [sakai-kaltura] How do you approach Sakai timeouts when
> viewing long video content****
>
> ** **
>
> Hi Rebecca, ****
>
> We haven't had this issue reported at UVA.  I'm assuming our session
> timeout must be long enough to accommodate.****
>
> Jama****
>
> ** **
>
> On Nov 28, 2011, at 5:37 PM, Rebecca L Darling wrote:****
>
> ** **
>
>  Hi all, ****
>
> ** **
>
> We're using Kaltura for video reserves in Sakai this spring. Some of the
> films are 2.5 to 3.5 hrs long, but our inactive timeout for Sakai is set to
> 2 hrs. When students are viewing a film full screen, they forget they're in
> Sakai, and it times out on them in the background. Whether you're using
> Kaltura or viewing other long-form videos, aside from extending the
> timeout, what other options are you using for working around this kind of
> problem? ****
>
> ** **
>
> Thanks!****
>
> -- ****
>
> Rebecca Darling
> Asst Dir, Instructional Technology
> Research & Instructional Support, LTS
> Wellesley College
> 781-283-2882****
>
> ** **
>
> _______________________________________________****
>
> sakai-kaltura mailing list
> sakai-kaltura at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-kaltura****
>
>  ** **
>
> _______________________________________________ sakai-kaltura mailing list
> sakai-kaltura at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-kaltura ****
>
>
>
> ****
>
> ** **
>
> -- ****
>
> Rebecca Darling
> Asst Dir, Instructional Technology
> Research & Instructional Support, LTS
> Wellesley College
> 781-283-2882****
>
> ** **
>
>
> _______________________________________________
> sakai-user mailing list
> sakai-user at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-user
>
> TO UNSUBSCRIBE: send email to
> sakai-user-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"****
>
> ** **
>



-- 

Rebecca Darling
Asst Dir, Instructional Technology
Research & Instructional Support, LTS
Wellesley College
781-283-2882
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-user/attachments/20111214/3fb8a08a/attachment.html 


More information about the sakai-user mailing list