As this is one block of code, don't terminate it early!
<% If x_gesperrt = True Then %> <x_sperrdatum = myNewDateTime strSql='"UPDATE data SET x_sperrdatum= '" & x_sperrdatum & "' WHERE WHERE [ID]=" & tkey conn.execute(strSQL) %>
You have two references in the table, one for the thumbnail and one for the full size image.
Then when you write the page, put the large pic ref into the anchor:
response.write "<a href='images\" & rst.fields("bigpic") & ".jpg'>"
<img src='images\" & rst.fields("thumbnail") & ".jpg'>"
</a>...
It needs to happen client-side, because that's where the user is pressing the button, so the code to disable the button would need to go in the onClick procedure.
There isn't a visible property, but there is a disabled one: btnSubmit.disabled = true
Without seeing the thisPage._fireEvent...
So you don't need either a Session or an Application variable, then.
You just need (as bastienk described) a standard variable, which either has page scope (declared outside a sub or function and visible to all) or local (declared inside a sub or function and only visible there).
I haven't...
Well, FP extensions does not mean it can run ASP unfortunately.
Your site is running on a Unix box which doesn't appear to have one of the ASP clones running, so you won't be able to run ASP pages.
If you View | Souce in IE you can see your asp code, which means the page has not been processed.
This is usually caused by incorrect or absent data when the connection object tries to open the connection.
Has the connection string been properly defined?
Has it been correctly assigned to the object?
Is the string in the current page or global.asa?
If so, is the global.asa unique within the...
For a working free ASP chat with source code see http://www.theill.com/asp/conquerchat.asp
This uses objects, collections and some clever JavaScript for the DHTML refreshes.
Reverse engineering this one is not for the faint-hearted though :)
application("users")=0
Your count won't be 1 until someone is using the data entry page.
To set the count to 1 in the data entry page:
If Application("NumUsers") = 0 Then
Application("NumUsers") = 1
Else
server.transfer "pageislocked.htm"
End if
To set it back to 0, provide a method...
Is the CDONTS object available?
Try switching off "friendly" error messages in your browser and you may get a little more information.
Tools | Inernet Options | Advanced tab - clear check box for Show friendly HTTP messages
Probably just being cached too "enthusiastically" by the ISP. Control+F5 refreshes your local copy from the server, but if that's giving you an old page you're no further forward!
(As a test, rename or delete the page on the server and see how many requests it takes before you get a 404)
Try...
If your connection didn't work, you wouldn't get the Recordset error, you'd get a different one :)
Well, again, that's one of the advantages from creating and using the view - it works like a single table and is also much easier to test. Specifying all those individual fields is very...
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.