Active User IP's

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


ADVERTISEMENT

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 View Related

Active Directory :: Get The Current Logon (to AD) User Name

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

Add Existing Active Directory User To AD Group?

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

Querying Active Directory For Current User's Info

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

ADSI - Trying To Enable A User - The User Add Works Very Well

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

Asp/active

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

Active X

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

Mail User Info To User

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

ASP Active Directory

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

Active Content?

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

ASP & Active Directory

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

Active Control

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

Active FT/PT Employees

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

Active Desktop

I was thinking about using active desktop, asp, and IIS on my win 2k pro computer to setup a personalized interactive desktop. Has anyone ever done this before? If so do you have a screen shot or maybe some hints/information I could use? I've been searching google. From what I can figure all I have to do is program a webpage that looks and works the way I want. Then just tell active desktop to use it as the home page.

View Replies View Related

ASP To Active Directory

I would like to write an ASP ap that asks for username/password and
validates against the active directory. Any ideas how/where I can do this?
In addition, once these people are logged in I want to be able to send the
to exchange's OWA and just be logged in, no second login/password.

View Replies View Related

Asp And Active Directory

Is there anyway that I can add user to the active directory with asp?

Because I found one code to view information but not to add. Or if you can tell me where to see the command for asp and active Directory.

View Replies View Related

Active Server

I've to startup a server ho housing a E-commerce asp. My S.o. is an OpenBSD Ver 4.2 and i am in panic ....

View Replies View Related

An Active Link

I'm looking for a function into which I can pass a string, and have it activate any links within that string.Does anyone know of such a thing?

View Replies View Related

Active Users

I need to display information a list of Active users on a web site.I can do the count using the global.asa but need to display individual information about each "active user" without writing it all to a database and then pulling it out again.Info I need :

IP Address - Request.ServerVariables("REMOTE_HOST")
The page they are on - Request.ServerVariables("SCRIPT_NAME")
the page they were on - Request.ServerVariables("HTTP_REFERER")

Can I write this stuff into sessions and call them all out?

View Replies View Related

Active Connections

I am programming a rather large site which will hopefully attract thousands of visits per day. I have been told by other people that MS access begins to struggle once it has about 15 active connections.

Since I am currently using MsAccess to test my scripts along with IIS 5.0 or whatever it is, I guess that at some stage I am going to have to convert all my stuff so that the data is in an SQLServer Database, and that the scripts can read and write to it. could anyone tell me what the transition is like. should I consider using SQL Server from the beginning or will I just have to change a few lines on each page.

View Replies View Related

Active Users

I'm developing an online shopping cart. Usually the site administrator modifies products etc in the "Store". I want a mechanism for the administrator such that he should be
able to view or at-least count the customers or visitors in my "Store" (only in store), users of the other sections should not be counted.

Whenever a user in my store signs out or closes the browser (not properly sign out) or even leaves the "Store" the count should decrement.

View Replies View Related

ASP & Active Directory

I would like to check login credentials, ie username and password, from Active Directory via an asp page. This will allow users to login to a restricted area of the website using their windows login and password. I read a thread about it on here, but it just said that it was possible, it didn't say how it was possible.

View Replies View Related

ASP And Active Directory

Is there something that would let me integrate ASP with Active Directory? I have seen a basic ones where it will allow you to create a login page. I am actually looking for something that will allow ASP to check user authentication but also be able to do such things as check which groups the person is in and allow them into certain pages according to their groups.

View Replies View Related

ASP Active Directory

We want to be able to allow our users to update this AD profile and
sepecifically be able to change the address, city and phone number fields
thorough a web page.

View Replies View Related

Active Users

I have a login page, wherein the users login to our system. I want to know the number of users that are currently logged in to the system.

View Replies View Related

Emails From Active Directory

I would like users on a web application to be able to select users from active directory and use their email address - in much the same way as Outlook does. How hard is this to do in asp? Would it be easier to do in .net?

I am proficient in asp but have never done this, on the other hand, I am starting to develop my .net skills.

View Replies View Related

Built In Active X Components?

I've been playing with ASP for about 3 months, and it just now, today, clicked that I could be using active x stuff with my asp pages.

The stuff I make falls into two categories, stuff for inhouse, and stuff that's on brinkster.

How can I tell what active x components I can use, and find some docs on them?

View Replies View Related

Query Active Directory

how to query active directory from asp for user info? If so do you know of any good tutorials or example pages?

View Replies View Related

Authenticate To Active Directory

I'd like to set up a new web page that I'm writing in ASP so that it requires the users to authenticate using their domain accounts. The domain controller is Windows 2000 Server which is a member of my University's active directory. Does anyone know if this is even possible?

View Replies View Related

Active Directory Login

I just want to know that how can i logged in using active directory login on ASP page also i need to redirect pages according to the GROUPs i.e if user succsesful login than it will redirect pages according to the user GROUPS, if user is in Finance Group then it will redirect to finance page and if its in IT GROUP it wil

View Replies View Related

Adsi IIS And Active Directory Through ASP

I have a script that I have set up to display users and their account status in an asp page, using adsi, then the web viewer can enable and disable accounts using this page. The problem I have is the anonymous user that IIS logs in with does not have the privileges to change accounts etc for active directory.

So, I made my server into an SSL server and made it ask for credentials using basic authentication. All works well for administrator as when the admin username and password are used, the script then runs with admin rights.

(as this is only a test server I can mess with all security etc before wrecking the real server!!) I delegated control to an OU that I wish to control with ASP and went and logged in as one of the users that was delegated control, but that says the script does not have the rights.

So, in effect, the script will not work unless I put in the admin username and passwords. I even delegated control to one user rather than a group but that still don't work. Any ideas please? Is it IIS, AD or ASP that is at fault?

View Replies View Related

How To Check If Db Connection Is Active

I have a MySQL db running off a companies server who i have designed the website for. Their connection has a habit of going down frequently This then causes errors on my site.

Is there a way of testing that a database is available, like some kind of error handling script.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved