I am looking to create a dynamic hit counter. Here's the catch I only want it to display how many people are accessing a certain page. Then I want to be able to display that number of people on other Pages. Is there any way to do that? I was thinking about using a Global.asa but I have not extensivly worked with them before.
Have anyone tried the number-of-online-visitors standard script? I am using it for two of my sites (on application start and sessions start and end, etc.). Yet I notice that the script shows a larger number than the real one! If there are 30, it says there are 200!
Any idea why this happens? Timeout is set to 20 minutes I guess.
I have a noticeboard that the user inputs items into. One of those is the date of an event. Once that event has passed I want it to disappear from the page.
So I need to do a comparison with current date to the date in the "datestarted" field. My table is called "notices." Using Access and ASP VBscript.
I am trying to have a simple chat program in my website. Currently, I can send and receive back and forth between myself and somebody else if I ask and know that person is logged in and his/her user name or ID. How can I list the name/userID of current visitors in my website.
Is it possible to create a unique visitors hit counter in ASP? I'm struggling to find any tutorials on the net. I found a few that can do a unique visitors on a daily basis but I just need a straight forward unique visitors in general.
Is there a method in ASP, which allows you to note how many users are currently viewing pages on your site.
I understand that there is a way of knowing if the user has actually logged onto the system, as I am sure you can detect how many members are actually signed in using I think global.asa file If I am right. I am sure you could also do it via an sql query if memberid=true, I am sure you could output how many members are true, returning a numbered value.
But is there a method of detecting how many viewers are actually connected to your site, without them actually being logged in? i.e non-members.
Also, how many hits to the site would be good, however this is an inaccurate reference, as a simple refresh would add 1 to the value, is there a method to prevent this, off the top of my head I would think a detect via the ip address? however some ip addresses change depending on there ISP.
Ive seen on a couple of sites it lists the numbers of users on the site at that point. What is the best way of doing this?One of my sites is on a win nt server and the other is win2k
Is it possible using ASP to detect the country that a visitor to your site is in?If so, could you please point me in the direction of a site which tells you how it is done?
so I know I have a book behind me that tells how to collect data from users that visit my site.I want to track my PPC campaigns.
So I know I can gather the users ip address, date time. All campaigns have a "?source=abc" so I know i can collect which campaign the click came from.But aside from that, can I collect stuff like... the users ISP? how long their session lasted? The search phrase used? Operating System? Platform? I'm feeling that my competition is clicking my high dollar compaigns and I wanna stop it.
I need t track the Visitor of My Site. I mean I want to know the Number of All Visitor and the number that a Specific Visitor has Visited the Site. actually I've not so much problem with All wisitor but the Specific one.
what do U believe the best solution is? I've tried catch the User IP and handle it with that, but I've been told it's not Possible, if it's not, how can I do this, or if Yes how ?! (is it Request.ServerVariables("REMOTE_ADDR") or not?).
how I can check what country the user is visiting from? I know how to check the browser type etc. but not where the person visiting my site is actually resident. I'd like to know how to check this both in ASP and Javascript if possible.
I found this code for a global.asa file and in the tutorial it says it can be used to display how many people are on a given website. I don't see how this done. Is there a session variable of some sort that I take from this code and output it onto a page?
I need to insert some number into database as text. My problem is if I insert the number (ie. 4.0), the value in the database only show (4). So, is it possible to convert a real number into text number using ASP?
in master batch table i have various master batch like 200701-0001 200701-0002 200701-0003
Now each master batch can have multiple final mixed batch like
200701-0001-01 200701-0001-02 200701-0001-03
and this record is inserted in to fmix table.
so i have a form in which i have a dropdown menu in which all the master batch is listed, i select 200701-0001 and that value is passed to next page where i will enter other fields data and insertion to my fmix_no will be done automatic like 200701-0001-01, 200701-0001-02 and so on,
how to achieve this
so in short each master batch will have more than one final mixed batch.
pls help, also if u have any online contact in yahoo or msn pls send me, i am so confused and badly struck deadline is just couple of hours away. my yahoo id is(E-Mail address blocked: See forum rules) you can PM me i am online right now.
I want To handel the error messages by myself in one part in my script. I know that in VB I can Use the statment - On error resume next And I also know that I can retrive the Error Number In VB with Err.Number.
How can I handel the errors by myself in ASP? I heard about the ASPErr Object, Is it the same thing like the err object in VB?
Im trying to get the current url where the user is at and store it into a variable. I want this to be done automatically, not when a user clicks a button. Any ideas?
I'd like to know how to display the current URL on the web page as a footer. This seems to be a fairly simple task, but everything i've found on the internet either doesn't work for some reason, or is asp.net specific....
I have an asp page currently such as default.asp?x=1&y=2&z=3
Now I want to keep the existing parameters and attach another parameter to it and resend to default.asp
As the original parameters are dynamic, and may or may not be generated, the only way is to read the current url and to simply add my new parameter such as h=5 to the url.
I don't know how to read the current url.
I tried Request.ServerVariables("SCRIPT_NAME") but that didn't include the parameters. i.e. it just returned the default.asp
Does anyone know where I can find information about Reading current connection value from performance counters into ASP page. I wanted to know how I can call the current connection value in my ASP page
I'm not sure if someone has requested in the past (I know I've looked for a solution for a while) but I've just developed a very neat way of getting the current page name in ASP:
I've created a form whereby the user fills in there details into a datbase.Once there details have been entered into the database I want to show the Primary Key(there generated ID number).This is the code I have right now
<% SQLQuery = "Select * from StudentReg" Set GetDetails=MM_dbconnect_STRING.Execute(SQLQuery) %> <%=GetDetails("ID")%>
This however will only show the frist ID number in the database, not the one the user just entered. How do I get the current ID within the new record?
To cut down on maintenance,I'm tracking 500 or so students via their graduation year, rather than their current grade,so I don't have to go in every summer and ratchet up all the grades.
I need to allow the teachers to search for them based on grade(9, 10, 11, or 12).So what I need is to be able to compare the grade chosen on any given day of the year,and have the code figure out what grad year that person is in, assuming a constant of the 4 year plan, and do a SELECT * WHERE gradYear = 2009
The problem is that I could take the nowYear or something, but that changes half-way through the school year (stupid northern hemisphere) and I'm stumped on how to compare more complicated dates.