How To Count The View, Donwload, User Quantity?
i saw from the web, how can the coding write out to count:
1. how many people View this image?how many people View this Topic?
2. how many people download that image, software or etc?
3. how to write out the code?
View Replies
ADVERTISEMENT
im looking for an asp (not .net) script based on a user forum
where as the admin i can set up different users to only see related
forum topics (i want to use it for project management) uploading files
to the forum would also be a massive advantage!!!
View Replies
View Related
Here is my SQL code in my asp page that calls the number od downloads made from tbldownload, but I want to get specfic with the number of downloads by user from tbluser
Download count sql
Set rsDownloadAdmin = Server.CreateObject("ADODB.Recordset")
strSQL = "SELECT downloadid, downloadtitle, downloadcount FROM tbldownload ORDER BY DownloadID"
rsDownloadAdmin.Open strSQL, adoCon
This works fine , I just want to add the statment and syntax that will show downloads by spefic user or user id
View Replies
View Related
I keep getting an error that says:
Error Type:
Microsoft JET Database Engine (0x80004005)
The Microsoft Jet database engine cannot open the file 'c:inetpubwwwrootannoneil\_databaseannoneil_AN D.mdb'. It is already opened exclusively by another user, or you need permission to view its data.
/annoneil/artist.asp, line 96
The code was working fine a few days ago but now I cannot figure this out.
View Replies
View Related
I've searched over 1 hour on Google and elsewhere and haven't found
anything.
I'd like to find a way to get the real active user count on our website.
THe main problem I have is when a user quit with the "X" the counter will be
decremented of 1 only when the Session.Timeout will be expired.
View Replies
View Related
i have a view cart page which shows remove an item and remove all item but i also wish to have add item function so i can add quantities for an item in the view cart page. i am not sure the right code for it. below is the remove item code.
if i wanna have an add item code, is there an amendment to do the code below . cos from what i see, its like u can do the opposite function for the code below to add items. Code:
View Replies
View Related
I need to be able to subtract the total quantity of a product when someone places an order. I'm trying to get my head around this; what's the strategy for doing something like this?
ASP SQL
So let's say I have a "Thank You" page at the end of the purchase. I have a table with a list of product Ids and a column of quantities left.
If I understand your post, I'm picturing this being a stored procedure that looks at the total quantities from my table that contains all the product quantities. Let's say product 1a has a quantity of 5 and product 2a has a quantity of 6.
A bit fuzzy here but what would a stored procedure look like that is able to update and step through all the items that were purchased?
View Replies
View Related
I have to modify an existing shopping cart to allow the customer to update the quantity (backend is SQL 2000).
I believe I have a good idea how to go about it but would like to read some examples or advice.
View Replies
View Related
I have written an ASP.NET 2.0 application that uses Active Directory or ADAM
to manage account users - the site has a page that allows people to create an
account (much like any site). The page populates the AD with all the
information and the user account but I am unable to enable the account.
Microsoft has information on how to do that here -->
http://msdn.microsoft.com/library/d...ting_a_user.asp
(the sample is for Visual Basic) - and I am unable to complete the bottom
portion of the script. Can some one point me in the right direction - or can
you tell me how I can add a snippet of VBscript code to an ASP.NET page.
I am using the Active DS Type library - not sure why there are multiple ones
(System.DirectoryServices) but it is rather confusing - I seem to accomplish
one thing with one and another with the other (they did have trouble
co-existing however). Anyway my script works very well but I am not able to
access the properties required to enable the account.
Here is a simple version (no error checking) of the code.....
View Replies
View Related
I've got IIS installed and running on Win 2000 Professional. However it
seems that I cannot view asp code. To test I've used the good old "Hello
world" example.
When run through localhost I'm met with page cannot be displayed.
When run through c:inetpubwwwroot, I'm met with a blank page yet I can
view the text in HTML.
I've checked my properties for home directory and I've got TCP port 80,
execute permissions as script only and application protection as
medium(pooled).
The local path address is correct and its set to Read, Log visits and Index
this resource.
View Replies
View Related
I have a registered user that buys a product online. The user supplies his/her email during the order also for verification purposes.
What I want to do as an Administrator is to be able to see that users first name and surname on my "Completed Orders" page (which dynamically refreshed every time a new order is made) using the email to get them from the database.
Code: .....
View Replies
View Related
i had created an asp file and want to upload it to the server...however, when i uploaded
the file..the file cannot be viewed through internet...why?do i need to set anything at the server?
View Replies
View Related
I have a asp code that shows the values from a database. But here it shows all the values in one page. I want to make each record appear in a new page. How can i do it. Code:
View Replies
View Related
I recently upgraded my PC from Windows XP Home to XP
Professional, so that I can use XP Pro's build in IIS
functionality to build ASP pages off of my home PC. I
have installed IIS 5.1, configured it and tried several
other things (restarting the server, configuring a web
project, etc.).
When I attempt to view the page using
the project name and computer name (in this case, it
would be http://apollo/twinadev/), the status bar shows
that IE is attempting to connect to the page, but after a
long timeout period, I finally receive a Page Cannot Be
Displayed Error.
View Replies
View Related
I actually want tree view which can dynamically display
all the child nodes(undifinte) dynamically.
View Replies
View Related
I have a soccer database I am working on. My boys play once a week. I would like to have a way to query past games meaning the one they play the week before. So another words we played this sunday score was 1 -0, on my home page with my query I would like it to show 1 - 0 against so and so. Next week when we play again, I want the next team we played then to show up on the home page. So in essance the most recent game played to be displayed. In data base i Have a table called schedule, in that schedule I have a field called GameDate which defines the day of the game. How would I create a query that would pull all recent games played up until the next game day.
View Replies
View Related
yet my colleague can? (when looking at exactly the same page - same destination folder etc)
Is there some sort of setting, so that you dont only see those small yellow ASP blocks when looking at the design view, and see the layout of the page , with the tables etc?
I realise that most of you gurus dont use the design view at all, but it is something that using ASP,
View Replies
View Related
How can we disable the browser to view the code..
i faced this question in interview..
what would be answer for this
View Replies
View Related
I have designed a page that list department projects. I have decided to add sub projects to main projects that are listed. I would like to be able to view the sub projects on the main page where all of the main projects are listed. I would like it to look like something in Access when you have sub records that are related to a main record.
In Access you click on the + sign and it opens up the related records and then you can click on the - to close them. Even something like is on this page up at the top where it has the main folder (ASP Free Forums) with a sub folder connected to it. (Post New Thread) Something like that would be perfect.
I am able to show the associated sub projects when I click on a detail button that isolates that record, but I can't think of how I would do this on the main page with several records. Any ideas how I could do this or examples of where I can find some similar code that will accomplish this? I'm not even what sure as to what key words to type into Google.
View Replies
View Related
I expect this has been covered before but I can't anything to reflect this. How (with code) can you view folders within a directory from within a drop down menu?
View Replies
View Related
I installed iis and wrote a simple script.I get a password protected pop up when I access:
localhost/tests/tests.asp
View Replies
View Related
I want to add record in my form. Previously i can only add 1 record and click on Add button to add 2nd record. Is it possible for me to directly add 2nd record? So i will have 2 options here, view the list and add 2nd record or directly add 2nd record.
View Replies
View Related
i had created an .asp file for my website.however, it cannot be viewed using internet but through local computer, it can be viewed. the address http://www.perak.uitm.edu.my --> click on ''pengurusan atasan''link under UiTM Perak menu. tq.
View Replies
View Related
after a member log in and he is redirected to the memberpage.as and there are a link to view his profile or details which is in the database in members table.
how can i view his details and he can make changes to it??? how many pages i have to do ? and the page which has his details should it be html with a form or should be asp page?
View Replies
View Related
I have 2 tables, one has id, fname, lname, and the other has id, amount. I need to create a view to sumarize the total amount of each person, what's wrong with this:
create view myView (id, firstname, lastname, totalamount) as select d.id, firstname, lastname, sum(amount) as totalamount from mtcdata d, mtcbilling b where b.id=d.id
View Replies
View Related
how can i built a tree view component in asp then tree view node values are get from data base. if any one know pls explain, how it possible?
View Replies
View Related
How can I list all the tables in a MS Access database using ASP? Is there anyway of doing this with the ADO object?
View Replies
View Related
i have configured a web server at port 8888. i have a .asp page which i want to view it through browser. something like http://localhost:8888/test.asp isnt working.
View Replies
View Related
in a forum there is a section where it list out how many people have view the subject. i been thinking hard how to get it done but still can't.
View Replies
View Related
IIS5, on a Windows 2000 Server machine. Debeg.WriteLine "Hello, world!" How can i view it?
View Replies
View Related
I have a datbase (db2.mdb) on the server
Here is the information:
DB name-Addresses
Input - user
Input - password
Here is the script that I'm using to try to view, unsuccessfully, the user in this database. Does anyone see the error? Code:
View Replies
View Related
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
View Replies
View Related
I wanted to view the Event View log in a web page. I think using
OBJECT tag it can be done in HTML but I need to pass some PARAM
values.
I just dont know how to go about it.
If anyone can suggest a doc or some link on how to view objects like
these in a webpage i could manage it on my own.
View Replies
View Related