Session Level Timer
give me a session level timer code? I'm trying to time a quiz.
View Repliesgive me a session level timer code? I'm trying to time a quiz.
View RepliesIt has been said that When attempting to load an XML file saved as UTF-7 (a transfer encoding format for Unicode), the XML parser in Internet Explorer generates the following error message: Invalid at the top level of the document. The same error also occurs when using the MSXML parser from server-side or client-side script.
I am getting this error when I use MSXML 3.0 as reference in a VB DLL function called by a ASP file.
I have a website that is running perfectly on windows 2000 server and IIS 5. However we are now moving it to server 2003 and IIS6. No problem there however after setting everything up a problem has occurred. My directory structure is websites then webroot within that which contains the site files. Within webroot is also a directory called connections, which contains the database connection asp file.
It is a mysql database. Ok the problem is that I am calling the connection in my asp pages as follows (<!--#include file="../Connections/connLUKTrading.asp" -->). but the server will not navigate up a directory level as the ../ indicates. The site works fine if I place the directory connections in at the same level the site works but then I will have to do this at each of wwwroot's sub directories I should not have to. I believe it is a permissions problem to do with IIS6 but not sure. I have spent hours trying to find it.
In our application, we have noticed on two rare occasion where the
data stored in application level arrays has disappeared. We have 3
application level arrays, and many other data types stored at
application scope as well. The other data types appear to have been
unharmed.
All session level data remained unharmed as well. The data
in the arrays seemed to have disappeared all of the sudden. No IIS
restarts, for example, were performed. Is there any known issues with
arrays being stored at application level.
On our IIS 5 windows 2000 web server we have many .asp's.most of which (When right clicked / security tab / edit authentication) are
using Integrated Windows Authentication.
Is there an easy way to check ALL of them? Some of the pages require a
higher level of security (Our password reset page for example) and I am just
auditing everything and want to make sure that only the few pages that
require it are using the elevated security level. (By the way this is
accomplished by using anonymous access with a domain account that is
'elevated'...
I hate right clicking on 1000 different .asps to see the file / directory
level authentication methods... is there an easy way to do this? Maybe
through resource kit command line tools or some meta edit type tool
I am creating a simple XML file via asp and want the XML to appear in the browser. Here is what I have tried: Code:
View Replies View RelatedI have to create a web base application program, I think to use ASP but I would like to see If it supports comparison Graph. Does it support different levels of access because I have different kind of users or i have to do it manual?
View Replies View RelatedI have made sufficent pages for our site and same have been in use in our LAN since long.
Now my company has asked me to put the same on web and we are buying a domain for the same.
However I am worried for a file level security. When the output comes in asp from cod below: Code:
Response.Write("<td><a href=Documents" & adorst("ProjectNo") & "/" & adorst("Client Drg No") & ".pdf target=NEW>" & adorst("Client Drg No") & "</a></td>")
We can simply open a file from our server's folder. Even if someone knows the full path, he can simply open file. Even someone expert can delete pdf file also.
I am using Request.ServerVariables("SCRIPT_NAME") to get the extention from the url and need to know if I am in the root or down a directory. i have two folders, one called 'local' and one called 'group'
View Replies View Relatedhow I can make a dhtml menu into a dynamic menu that pulls its links from an access database instead of the hardcoded html.
I would like to know because I'm working on a site that needs such a menu and most of my administrators using my site don't understand html and won't be able to update the menu unless I can give them a simple form that allows them to add links.
How do I create an array inside an array? This certainly doesnt work...
Dim TmpArray(0 to 10)(0 to 50)
I want to open the MS Access file with user-level Security. I know that if I do NOT setup user-level Security in the MS Access file, and create the table for login in the MS Access file (Put the MS Access file in the server), then it works.
I did that. But, I want to know whether or not we can use ASP code to open the MS Access (MS Access user-level Security setting). This way I can put the MS Access file in the public place.
Can we do it in ASP?
The following code cannot do that:
<%
set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open "c:/try.mdb"
%>
I need to know how to disable a button based on the username that logs onto the web application.
View Replies View RelatedI tried to make our menu differend for Users for example :
If user level = 2 than
show Menu (Add Contact)
I used this code:
I want to display a different message deppending on the amount of stock left. For example if there is no stock i would like to display "out of stock", if the item is in stock display "in stock". Code:
View Replies View Relatedi'm going to ask the way to use database to check user permission level in asp..
View Replies View Relatedhow can i retrict user to only access the web page iif and only if they have the username and password, they neeed to login before can access the certain pages. How is the coding for that web pages?
View Replies View RelatedI'm writing with VBscript and Dreamweaver. I need to create a visible timer that counts down based on how much time a customer has prepaid for. I'm using Access. When they are out of the time the session must be terminated. I guess it should also warn them when they are closing in on expiration.
View Replies View RelatedI'm developing a small ASP server that needs to communicate with another server via http requests. All is working well, but I need the data sent automatically every 5 minutes and sometimes when a certain time is reached. Is there a way to have a program in the background that triggers a function after a certain time has elapsed, of a certain time is reached, and then starts again?
I need at least one occurence of such a service, and perhaps two. The time is not critical to the millisecond, only to the minute or so. I cannot register components, and I don't use .net technology, just ASP scripts. I've browsed the net, but could only find commercial solutions or timers that must be polled. But I need something like an interrupt.
How can I execute a function after a certain period of time, example say 1 minute?
View Replies View RelatedI have built a page that displays some info out of a database. The page uses a datagrid that is filled using a dataset. Forward and backward navigation of the datagrid is custom and works.
What I want is for the datagrid to skip to the next "slide/page"
automatically every 10 seconds.
I've tried adding a System.Timers.timer controll onto the page and having the timer_elapsed method run an exact copy of the code used to skip to the next "slide/page" by clicking a button.
I am having a few problems with the Timer component in ASP.NET. I can get it to work in the C# windows application of visual studio but not in the ASP.NET.
The thing is a number of people will be logged into the website (its a game) so each person will need to view the same timer counting down to zero.
This is the code in ASP.NET. The timer only seems to be counting during page load.
How do i get it to count for a number of minutes while the game is in progress????
This is my sample code:
is there in vbscript a timer or something?i want to make that
after user registers on my site he will see
" thank you for registering " - made this
and that he will be redirected after 15-20 secs to another page
is it possible?
How do i make an ASP page redirct to another ASP page after 15 seconds?
View Replies View RelatedI am having a problem calling the Timer function. I get a compile error
when I include a call to this function.
Invalid character
/sirenServer/INCLUDE/test.asp, line 32, column 19
starttime = Timer()
Here is my system setup:
ASP.dll Version: 5.0.2195.6672
VBscript.dll Version: 5.6.0.8515
On Windows 2000 with IIS5.0 and front page server extensions 2002.
IE 6, VS.NET 2003. and Visual Studio 6.
VBScript Engine: 5.6 Return from :
response.write "VBScript Engine: "
response.write ScriptEngineMajorVersion
response.write "." response.write ScriptEngineMinorVersion
And according to the Version Information of VBScript, the Timer function
language element was implemented in Version 5.0.
I have a web site which after 20 seconds of a visitor being on my site no matter which page he/she is on then a pop up window will appear.
The problem is that i want this for the site as a whole and not just an individual page.
If it was just one page then i could use javascript but every time the page is refreshed or a different page is opened then the timer would start again.
I am creating a auction web site. I am using ASP on the front and SQL Server 2000 in the back. I am trying to figure out a way to get an auction to basically countdown until it reaches 0 seconds left, then to trigger a certain web page to tally who won.
Example:
Auction: HARLEY 2004 MOTORCYCLE
Time: 5 days
So in exactly 5 days or 120 hours the auction needs to know that it has ended and trigger a page to decide the winner.
I need a VBScript timer that is displayed in one of six frames on a page. The hr and mins remaining would come from Access. While the page is open the timer would run down. If and when it reaches no time left it would redirect the whole page to order.asp. I had some code that displayed it in the status bar, but I need it to display in the actual frame.
If anyone has any idea how this is done I would really appreciate it. I'm pretty lost on this.After that gets working I'm also gonna have to take thetime that was remaining and subtract it by what was used and save those variables as the new remaining time.
i do have a little problem.....i have 2 difrent functions in my asp pages. function1 and function2.
funktion 2 has to be executet 15sec after function 1 had been executet.how can this be solved in ASP, and is it impossible.
is there any functionality of timer in vbscript?what i want is that i want to excute a certain statement or set of statements depending upon the start and end time provided by the user.
View Replies View RelatedI have an WebForm1 which contained a ListBox1. I have drag a Timer on the form. In the timer1_Elapsed() function , I have add the line ListBox1.Items.Add("haha"). But when the timer elapsed, it called that line of code, but the ListBox1 didn't show "haha".
Would you tell me what I have missed?
I building a page showing the different times in different parts of the world but if the local time is 08:15:25 and I subtract 10 hours, it displays 0-2:15:25. How can I show it as 22:15:25.
View Replies View RelatedWell i use Timer to test ASP scripts how much time is needed for rendering. But how much time, approximately a heavy asp project like CMS or FORUM should do?
View Replies View Related