GLOBAL.ASA Real Active User Count
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
ADVERTISEMENT
i just started learning what it can do, and I am using it to tracj how many people have logged into my site, but when people login to my site, I start 2 sessions, one for their ID, and one for their name. Is there any way to only count the name session as a session_onstart in global.asa?
View Replies
View Related
I just made a simple thing on my page that says Active Users: and the number by adding 1 to session_onstart in global.asa. It seems to work.
Is there a way I can have this store IP's of the active user, etc without using a database to store the stuff in?
View Replies
View Related
I need to get the current logon (to AD) user name on ASP level. Is there any ActiveX (ocx,dll) object in windows directory, which I can use? I used the nwdir.dll file to get this name from novell directory with ndap....
View Replies
View Related
I have a question concerning ASP classic. I'm trying to add an existing user in active directory to an AD group using a web-based form. Using regular code to do this, I get a general access denied error, upon which further research told me I needed admin rights in order to accomplish the task.
I vaguely remember an ASP project I worked on in the past where the script itself authenticated to active directory before requesting information. Is it possible to authenticate to AD (as in, authenticating with my username/password which has access to add users to this specific AD group), then continue with the commands that way? I've resurrected a bit of code from that prior project, and attempted to mix the two together: Code:
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'm working on a logon script that needs to query AD for the current user's information. Phone numbers, email address, etc. One thing that makes it a little bit more difficult is that I don't have the full dn for the user; I only have the base dc and cn.
Microsoft's documentation on all of this is lacking greatly, so I've been racking my brains quite a bit.
View Replies
View Related
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
View Related
I've read that one shouldn't include ADO objects in the Global.asa for the sake of performance, but would user-defined classes cause the same kind of performance hit? Assuming that they wouldn't, is it possible to do it?
I can't seem to figure out how to include them, nor find any reference to it in msdn.
Is there a way to do this? Or should I create a slew of Session variables? Code:
View Replies
View Related
im tryin to secure my application. i want the application to send the user back to the login page if they have not logged into the system. do i use the global.asa file or is there a simpler way to do this?
View Replies
View Related
I am new to ASP.I am retriving one table values from mysql database.
displying the values on the browser in XML Format.
now my problem is I want to read this XML Values but i Don't want to save
to.xml.
View Replies
View Related
ow do i show real time on my page?
for example i have
Code:
dtTime=time()
View Replies
View Related
Im looking since the begining of the week about saving the enter(vbcrlf) from the html <textareato my MySql database, it save everything but it just loose everything when saving ot the database, do i need a special component to be able to save the enter and tabs etc. Im sure i was able to do it before and it was easy.
View Replies
View Related
I'm using the function copied below to authenticate users in LDAP before allowing them onto our intranet site. This works great! But what I'd like to do now is use the LDAP connection it creates to retreieve the users actual name.
I dont know how to do this so I've been looking for examples I can learn from on the net. I have found snipits of other people code but I've been tying myself in knots trying to fit them into my function and failing miserably.
Could anyone tell me what I need in the function below to get this information. From what I've seen I think I need to use some kind of filter on the LDAP object, but I dont know how to implement it. Code:
View Replies
View Related
I am doing a RE site, and need a variety of RE calculators? Anyone know of a gud resoure free if possible.
View Replies
View Related
I want to know what authentication type the IIS uses to authenticate
users, when i query the AUTH_TYPE i get "Negotiate"...
Is there a way to know for sure if it is Kerberos or NTLM?
View Replies
View Related
A client of us asked to write a script to View live visitors as they browse her website and to get the information such as, what page they are viewing, what browser type they are using, IP address/host name, visitor time on site and screen resolution.
Is this possible in ASP scripting without a server side or client side application? How to get the realtime stats of a visitor?
View Replies
View Related
I want to be able to make a script which runs in real time. This is what it needs to do:
When a user clicks on a box, it starts the countdown, and changes a variable in the database (ie taking away 1000 from the 'money' column). The countdown is 20 minutes, and the user can see how long they have left to wait by refreshing the page. Once the 20 minutes is up, it changes another variable in the database (ie add 1 to the 'no of buildings' column).
I know this is possible, as i've seen it done before. I think you may have to use AJAX, but have no experience of that so could use some help.
View Replies
View Related
what I am trying to do is the following, its causing some probs though:
I have the following in a database:
[[imagediv 100.jpg This is the description text]]
This is just some dummy text. It doesn't mean anything and is for placeholding use only.
And want to change it to:
<div class="imagediv"><img src="/images/100.jpg" alt="100.jpg" width="200"
height="200" /><br />
This is the description text</div>
This is just some dummy text. It doesn't mean anything and is for placeholding use only. In the future I might want to use different codes ie [[imagediv 100.jpg This is the description text]] to reference a different DIV.
View Replies
View Related
I'm looking for a solution for the following problem:
I created ASP code to convert an URL such as:
http://localhost/mypage/category_20/article_15/
into the following URL:
http://localhost/index.asp?page=myp...20&articleid=15
Now, the first URL is submitted by the user. The second one is the real URL,
but not visible for the user. This one should be handled by the web server
internally.
I thought I could accomplish this task with server.execute or
server.transfer, but none of them can handle querystrings. Is there another
way to do this?
Are there perhaps any COM objects? (This will be my last choice, because the
whole system should go running on an iASP (instant ASP) server too if
possible)
View Replies
View Related
I've just launched a web site that sells collectibles. To do this I've got a ASP shopping cart with a checkout process.
As all the prices on my site are in Australian Dollars, I' trying my very best to find a way to display the total price in USD as well....
Eg:
Total Price : $ AUD 100.00
Total Price : $ USD 79.00 (real time rates)
I need to do this because I also want to Accept PAYPAL account payments which cannot be made in AUD.
View Replies
View Related
I have one application folder containing all ASP code files. I want host multiple sites pointing to same code. Can I do this ? If YES then how I can assign diffrent global.asa to each application...
View Replies
View Related
I have added a db driven marquee to my site and need to combine the global asa's to 1 global asa file. Code: ......
View Replies
View Related
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?
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 was looking into using active directory to authenticate users, how is this done? what is required to connect to active directory?
What is can you pull from active directory with asp?
View Replies
View Related
I have a pretty resource intensive javascript page that I would like to try to make into an Active X program. I'm a PHP programmer and don't know much about ASP, but the research I've found is talking about using ASPX to create the application. Can anyone offer any suggestions about creating something like this, whether or not PHP can be implemented and where to start. My intention is to have my program be embedded into the browser.
**Originally posted in the PHP forumns, I assume a moderator moved it to the ASP forum. Now that we're here, a few questions
Do I need a different server configuration to run ASP? I'm currently running apache 2.0. An example of an ActiveX program I'm thinking of can be found on webshots.com. This site uses an ActiveX program to allow users to upload images through their custom application. It has functionality similair to that of some flash I've seen.
View Replies
View Related
how to go about setting up an asp script or flash action script to take the input from a user of his/her username and password then send an email to the user with the information. I am able to do all of this but the problem is that the users pc is the one sending the email. I want the server to send the email instead.
View Replies
View Related
I'm trying to connect to the active directory using asp. I'm having problems with logging in, what happens is the username accepted is not the user logon name but the displayname is accpeted heres the code:
View Replies
View Related
What is "active content"? My ASP page just returns HTML....
I have a page with an .htm extension that has a form whose action
is an ASP page which generates a report after updating a database
with the form data.
Under Windowx XP SP2 the IE6 "Information Bar" has the message:
"To help protect your security, Internet Explorer has restricted this
file from showing active content that could access your computer."
View Replies
View Related
Could anyone show me a sample, snippet, code chunk ... etc of how I can get ASP to find the Active Directory username based on a supplied email address?
For example: I want ASP to query active directory and retrieve the AD username for where user email address = 'whatever@whatever.com'
View Replies
View Related
My problem is my active control will download to IE6 sp2, but not download
to IE6 sp1. On IE6 sp1, ther is no popup to ask for download.
View Replies
View Related
The count in my sql statement calculates a count of FT Active employees and a count of PT Active employees. Now I need a total sum of those two. Is there any possible way of putting a sum in the SQL statement?
sqlActiveEmployees = "select employee_type, case when employee_type = '" & EMPLOYMENT_STATUS_FULLTIME & "' then 'Full-Time' else 'Part-Time' end, count(*) from EMPLOYEE_CLIENT where status = " & EMPLOYEE_STATISTIC_ACTIVE & " and client_id NOT IN " & TLC_CLIENT_IDS & " group by employee_type order by employee_type"
I write it out to this code:
For intCount = 0 to uBound(arrActiveEmployees,2) intTotalEmployees = intTotalEmployees + (nullToZero(arrActiveEmployees(1,intCount)) + (nullToZero(arrActiveEmployees(2,intCount)))) Response.Write "" & arrActiveEmployees(1,intCount) & ": " Response.Write arrActiveEmployees(2,intCount) & "" Nex
View Replies
View Related