|
 |
asp_web_howto thread: diverting to another page at specified time period.....
Message #1 by "Usman Khalil" <usmankhalil@y...> on Mon, 18 Jun 2001 01:17:24 +0500
|
|
dear all I got a problem where I seem to be stuck ...
I want an asp web page that keeeps on displaying records one at a time,
=3D saving the response in database .... and automatically exits to a
=3D specified page after 30 mins....
Its like taking an online test whereby questions keep on appearing one
=3D at a time, saving the responses and exits to last page after 30
mins... =3D i am using access and IIS 5.0 .... if anybody can help I
will be really =3D glad ...
regards,
usman.
Message #2 by "TomMallard" <mallard@s...> on Mon, 18 Jun 2001 04:33:37 -0700
|
|
On the server side you need to know which page is being displayed, so a
hidden field can keep track of that. It would be easiest to have all of them
submit to the same page. This takes the current hidden field value and
redirects to the next page (or better just displays the next content back),
saving the "answers" I assume each will have using form values.
On the client you need a settimeout() function set for 6000 milliseconds
which begins using onload which then submits the page. For the form, you
must not use an action statement to disable the enter key if that's
important.
tom
----- Original Message -----
From: "Usman Khalil" <usmankhalil@y...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Sunday, June 17, 2001 1:17 PM
Subject: [asp_web_howto] diverting to another page at specified time
period.....
> dear all I got a problem where I seem to be stuck ...
>
> I want an asp web page that keeeps on displaying records one at a time,
saving the response in database .... and automatically exits to a
specified page after 30 mins....
>
> Its like taking an online test whereby questions keep on appearing one
at a time, saving the responses and exits to last page after 30 mins... = i
am using access and IIS 5.0 .... if anybody can help I will be really = glad
...
>
> regards,
>
> usman.
>
>
|
|
 |