Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

Re: FN-FORUM: Timer!

date posted 17th January 2005 11:51

i can think of two ways, one using an image that is refereshed by javascript
every x number of seconds, the SRC attribute being an ASP file that
increments a file in the database before redirecting to the image. this
would store the approximate time they've been on the page.

alternatively you could do the same thing in flash, which would circumvent
them turning javascript off.

as for stopping them saving the content as tony ponted out, you can use
flash and ASP to make saving the information neigh on impossible (have the
content in a SWF stored outside the webroot, load it into the main movie via
an ASP page that specifically stops cacheing)

bit of a ballache either way though!

----- Original Message -----
From: "JB Media Ltd" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Monday, January 17, 2005 11:55 AM
Subject: FN-FORUM: Timer!


>
> Hope everyone had a good weekend!
>
> I have a challenge. A customer runs an online training company. The pages
> are restricted using username's and passwords. He now wants to specify a
> time limit on certain pages. So for instance, if a module takes 12 hours
to
> complete he wants the users access to that module to expire after a total
of
> 12 hours of viewing it.
>
> I first thought of just having a cookie that expired after 12 hours, but
> then I realised the student wouldn't be doing the course for 12 hours
solid,
> he/she would be doing it in chunks.
>
> I need to come up with some sort of timer, obviously, but I'm at a loss at
> the moment.
>
> Has anyone got any better suggestions, as I'm scratching my head a little
> now and the weekends merriments are taking their toll this morning.
>
> BTW I'm working in ASP with an Access DB.
>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 16/01/2005
>
>
>
>
> --
> Freelancers, contractors earn more with Prosperity4
> Call 0870 870 4414 or visit www.prosperity4.com
> and benefit from Inland Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
>



Messages by Day
January 31st 2005
January 30th 2005
January 29th 2005
January 28th 2005
January 27th 2005
January 26th 2005
January 25th 2005
January 24th 2005
January 23rd 2005
January 22nd 2005
January 21st 2005
January 20th 2005
January 19th 2005
January 18th 2005
January 17th 2005
January 16th 2005
January 15th 2005
January 14th 2005
January 13th 2005
January 12th 2005
January 11th 2005
January 10th 2005
January 9th 2005
January 8th 2005
January 7th 2005
January 6th 2005
January 5th 2005
January 4th 2005
January 3rd 2005
January 2nd 2005
January 1st 2005


Messages by Month
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000