Is there a way to catch session timeouts, or to redirect users to another page on timeout?
I've googled a bit, and I hope I'm not mistaken, the Global.asa file seems to offer something like this, but it doesn't work for me.
I've got:
<script language="vbscript" runat="server">
Sub...
Hi,
Just stumbled upon this problem and really have no idea how to overcome it.
I'm using javascript to open new windows via the window.open technique. I've been testing with Mozilla Firefox all the time along and the new windows open perfectly in it.
However, once I tried testing in IE, no...
Hi,
I've been trying to get a simple javascript redirection fucntion to work, after this form in ASP has been posted back. Once checked to be valid, I'm showing some hidden divs to the user and want to redirection in say 10 seconds.
I can do the redirection part using:
window.location
in...
Hi,
I remember having done something similar with MS SQL Server where if no parameter was provided, SQL Server's stored procedure could substitute some "match all" wildcard type of value in.
Is this possible using the Access version of stored queries? basically, I have a number of drop down...
Hi,
Is this possible?
What I'm trying to do is a simple:
If Rst1("ID") = Request.Querystring("PassedID") Then
// Run some code
Else
// Run something else
End If
However, I've tried replacing the querystring with a variable, wrapping the recordset with quotes, but nothing seems to work.
Any...
Hi,
Been trying to use javascript to hide a div in a page after its been processed.
I've searched around and seen a number of methods, none of which seem to work for me including:
document.all["DIVNAME"].style.visibility = 'hidden';
document.all["DIVNAME"].style.display = 'none'...
Hi,
I'm trying to do a regex to match email accounts from a specific domain.
So say, I'm trying to match all people that use my registration form using a Hotmail account.
This is the regex expression I have right now. Doesn't seem to match any hotmail accounts as valid though.
var...
Hi,
I've some ASP code that processes data with the database. As I'm catching any errors that are found, I'm hoping to use JavaScript to show the error caused to the user.
Does anyone have a tutorial on how I can pass a string in ASP to javascript or how to run some javascript from ASP?
PS...
Hi,
I'm trying to do some simple form validation on an ASP page, but after trying for a couple of hours, it still doens't work.
This is the javascript function I have. When I pass a form as the checkForm variable, I do get alert boxes coming up, but they say 'undefined' instead of what I have...
Hi,
Hope I'm posting this in the right place.
This is my SP:
CREATE PROCEDURE GetDeptNum
(
@Name As NVarChar(70),
@ID As Int Output
)
AS
Select @ID=ID From Dept Where Name=@Name
GO
The problem is that its not retrieving the ID as I need to returning it, rather its always giving a...
I'm trying out the random access file function right now, but seem to be having a problem appending a new 'record' to the file. The problem arises when I try to 'pad' up the data I am appending, so that it makes up the required length for ta record.
RandomAccessFile rf = new...
Hi,
I know its possible to set the state of a form, so if condition A is true then I can set combobox A on enabled.
However, would just like to ask, is it possible not to apply this to the form forever? Rather, if my user were to cycle through the records with the default record selector bar...
Hi,
Been working on my database today, but have come across a problem with summing up the costs on my subform. In my orders form, I have a productordered subform in continuous mode, listing the product ordered and the quantity ordered.
On the fly, I have a query which then calculates the cost...
Hi,
Just a quick question (I hope), which has left me stuck.
I have this SQL query, which returns one value. I'm hoping to assign to returned value to a textbox on one of my forms (open when the query is run).
However, despite going into the VBA, setting the text, value or controlsource...
Hi,
Is there anyway to display the results of a query in a listbox, whilst not having the standard query results screen popping up?
Also, any idea on how to clear the contents of a listbox on form load? Since there doesn't seem to be a clear method for the listbox...
Thx
Maldini
Hi,
I'm working on a venue booking system right now for my local club which loans out its grounds and courts to people.
What I'm trying to produce is a query that will check whether a court is being booked. On this form, the user will input the start and final dates for which they wish to book...
I know how to make basic queries in access, which take in parameters and use that parameter as the search item... thats all and well but doesn't especially suit what I want now...
What if I have a form (used to display record at a time of my table), where there are many fields and I need to use...
Just made a form containing two subforms, each subform linked via a common field with the main form....
problem is, I don't want the repeated field to be shown in the two subforms, rather, I want it hidden with only the one on the main form shown...
Tried changing the properties of the...
Hi,
Having yet another problem which has left me stuck totally...
I have to find a way to return the last three occurances (in terms of nearest date) of a person's name in a particular file (already read into an array) and then ouput this to another file...
Say this is part of my file...
Hi,
Is there any way to disable the standard error messages that perl generates whilst not disablling the entire standard error channel?
Since I'm trying to produce my own error messages to be displayed and don't want the standard ones from perl to be shown.
Thx
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.