Getting Logged In User

it was possible to query the logged in windows user from a remote machine. I'm thinking of designing a website that will tell you what users are logged in where. This isn't really necessary but I thought it might be nice to know and keep track of users.

View Replies


ADVERTISEMENT

Logged In User

I need some asp code that can give me the user that is logged on to the PC.

View Replies View Related

CHECK IF USER ALREADY LOGGED IN

below is an insert statement on an asp page that stores the date and time
that a driver logged on, what I need is to check that they are now already
logged on fields are SQL Server 2000

ID int
DRIVER_NO int
ON_DATE datetime
OFF_DATE datetime
ON_NOW nvarchar
SESSION_ID int

The ON_NOW column reads on or off depending whether the driver logged out or
not, if they havent we need to close the previous logon session and mark it
with 'off' and enter a date time into OFF_DATE column. Code:

View Replies View Related

SelectParameter With Currently Logged In User?

I am trying to build an sqldatasource using a parameter which I want set to the currently logged in user's username. Any idea how to declare the parameter in the <SelectParameter> tag? I am using .net 2.0...

View Replies View Related

Display The Name Of A LOGGED IN User

I have a LOGIN.asp page which will ask the user to input their username and password. The text box name for this two text field is txtUsername and txtPassword. What i want to do is to display the value of "txtUsername" in my main page after the user has logged in! That means what ever that the user enter in the username text field, it will be display in the next page. how to code this in ASP session variable?

View Replies View Related

Capturing Logged In User

how i can pull the logged in user name from a computer for a web form? this is what i did to pull from the cookie when user log into my site but now i want to get request from non site users but capture non logged in users ids too.

~ <input type="text" name="EmailID" maxlength="10" size="10"
Value="<%=Request.Cookies("NPSC")("UserName")%>"
~

View Replies View Related

Windows Current Logged User

How to get the Windows current logged user name using Classic ASP. If no direct way are there any work arounds.

View Replies View Related

How Do I Get The User Logged In To Novell Network

How can I get the user ID (Novell 5, IIS5 on Windows 2000 Server) using ASP?
I did find an example using JavaScript however it uses an ActiveX control
and then all my users would have to click OK to allow the control to run.
Or I could change the security setting, but we are talking over 1,500
machines.

View Replies View Related

Grab Logged In User's Email Address

I have this asp page (see code below). It grabs the values from the previous page and populates the email which gets sent to the recipient from the person bidding on his product. I need to grab the bidder's email address (he is logged in when sending this email) from the database.

I can't seem to figure out the code for grabbing a logged in visitor's information from the database to display in the "From" field. Can anyone help? I need the code that grabs his email address, and the code that goes in the "mailer.from" variable to populate that field. Here's the code:

View Replies View Related

Logged In

When a User has Loged In to my site, I would like to display Logged In as:
and then a link to log them out of the site Code:

View Replies View Related

See The Users Logged In

How do we have a track of users who have logged in? I want to have a table of record with usernames and the status(logged in or logged out).

Whenever the user logs in, the status shud indicate he is logged in and when he logs out the status shud change accordingly. Does anybody know how to do this???

View Replies View Related

Currently Logged Users

I want to create a page in ASP language which gives me information about
currently logged users. I thought to do it by this way: when somebody
will log in to page, there will be a value of this user id stored in the
table among the other fields in the form which are filling in. After
clicking on the button "Log off" the value of the user id will be
deleted from the MS SQL Server 2000 database. I would do it, but I don`t
know how to solve the problem when somebody will close the Internet
Explorer window by clicking "x". Then the procedure of deleting a value
of user id will not call, and this value will be still stored in the
database, so I will not have actual state of currently logged users.Maybe there is another possiblity to do it?

View Replies View Related

Logged In Right Now Code

I have a website where about 300 to 500 are logged in all the times. I am trying to find a way to see who's logged in right now.I learned that session variables can produce such an outcome. Every member, who is logging in, is recognized by saving that member's unique user ID in a session variable.

View Replies View Related

Logged In Script

i have the following script in one of my logged in pages.

Active Users: <%=Application("CurrentNumberOfUsers")%>

Is there any code that I can add to this which also hows who is logged in to the website?

View Replies View Related

Logged In As: Username

i set up a login page and when the user logs in he/she is directed to the main site. What I wish to know is how can I show the user name that is logged in the main site:

For example:
Logged in as:
Username

tell me the code as i am new to ASP .

View Replies View Related

Knowing Who Is Logged Into Any Particular Workstation?

I'm developing an intranet site that will require knowing who is accessing the site. Since all of my users are using a WIndows domain, I figured I could cut the necessity to log into the intanet site if I could identify each user based on who is logged into the workstation being used to access it. So I figured I would need some Microsoft-specific tech to get this done.

Is something like this even possible? I figure ASP .NET would be my best hope, but seeing that I've never programmed for a Microsoft environment, I would need some coaching. Here's how I thought this could be accomplished (I may need some help filling in the details):determine the IP of the machine accessing the sitedetermine which machine on the network currently has that IPask Active Directory who is currently logged into that machineI don't know that this is possible in this manner, though. Anyone accomplish something like this before? I would think so as it seems like something a lot of developers would want for web applications.

View Replies View Related

How To Keep Track Of Logged In Users?

I would like to know how to let users log in to my page and keep track of them until they log out? Will i be using cookies or what?

View Replies View Related

Logged In - Session Timeout

I use a database to authenticate users. Thier logon info is stored in a session.When the session times out it redirects the user back to the login page,which, when logged in sends them to the secured homepage.How can I return them to the page they were on when the session timed out,rather than starting over on the homepage?

View Replies View Related

Oracle Not-logged On Error

I have the Oracle not-logged on error that keeps popping up intermitently. When I restart the web server the problem is solved and everything is fine. I am unable to figure out what the problem is?

I do not have this problem with other websites running on the same web server. Can any one advise about what I need to do to solve this or atleast what direction I need to look?

View Replies View Related

List Of Logged In Users

I have an asp website which allows registered users to login in, I want to create a page which shows the names of all logged in users. Can i do this in asp, and if possible can some one tell me how can i let the logged in users communicate with each other.

View Replies View Related

Redirect To A Web Page If Logged On

This is the code for my default asp page.

<%
'Check if user is logged in
if Session("name") = "" then
'If not, go to login page
Response.Redirect("login.asp")
else
'If, build page
Response.Write("<title>ASP Page</title>")

end if
%><body leftmargin="100" text="#004080" bgcolor="#EBEBEB"><p><font size="6">


I want users that have been logged on successfully to be redirected to a website address that I specify.

Any Ideas?

View Replies View Related

Response.Write "<b>You Are Not Logged On

I last posted to this group about 6 months ago and was very pleased by the
excellent response I got and the great help offered to me. I am back this
time with another request for your expert help on a bit of ASP code I use on
my windows server 2003 with IIS6 machine.

I would like the code below to display in different colours depending on the
status of the page. I am looking to make the not logged in code appear red
and the logged in code green.

The code:

View Replies View Related

Application Object :: How Many Users Logged In?

My asp application allows a number of users to log into it. Each user has a different type of access level (General User, Manager or Administrator). I want the administrator to be able to see how many other users are logged into the application at a particular time. How can I do this? Would the use of an application object work for this?

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

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

Odd "Logged In" Method

Is it possible to use the FileSystemObject, in a page, on a remote server that checks to see if a LOCAL file on the viewer's computer system is present? Just the FSO.FileExists method.

I was wondering, would it be simple to just give someone a file, tell them to place it somewhere SPECIFICALLY onto their computer, and if the FSO.FileExists at that location (and that file name), it grants the user access to the page (if not, it redirects them away)

Does this sound feasible?

View Replies View Related

Can't Get User's NT Log-in

I'm having a real tough time getting a User's NT login after they
submit a form.

I have Anon. Login disabled. I'm using Digest Authentication (although
I've tried everything).

Every time I run the page, I get a blank string instead of the
requested information.

The information is in a hidden field, with the value set to:
<%=Request.ServerVariables("LOGON_USER")%>

The icing on the cake is that when I run this on my PWS, I can pull the
information and it shows up in the SQL DB I'm sending it too. But, when
put on our live box, it doesn't show up. The setting on each box are
exactly the same.

View Replies View Related

User Ado.net

I have a classic ASP program running on a server in the DMZ. I need to consume a web service so that I can consume data from that web service. However I am not able to call the web service from the DMZ since the server can not send messages out on the
internet.

Thus, I need to send the call to another server running within the internal
area of the company's internet. I need to send this message to an IIS server
and then from the IIS server call the web service. I was thinking that I need
to call the service on the IIS server with an ADO.NET connection. This
ADO.NET connection object would be generated just long enough to call the web
service, get a response from the web serice, and return the message to the
server running in the DMZ.

Let me know if you think this would be a good solution and tell me how you
would setup this interface. (Should C#.NET or Visual Basic.NET be used or
some other lanaguge.)

Also after this solution works, I will need to implement this similar type
of solution to call other web services.

View Replies View Related

User NAME

does anyone know a way to show a users USER name instead of just there login name
its for a school intranet currently we retrieve a lot of data based on the login name by using this script:

[code] <%=Request.ServerVariables("LOGON_USER")%>

it would be a lot more functional if i could pull the full name, we are using Active Directory 2003 and iis6, and all the logins have the full username inputted in the AD?

View Replies View Related

ASP.NET User In AD

It seems that the ASP.NET user in AD has been deleted. How can I get it
back?

View Replies View Related

ASP Add User

I'm developing an ASP form registeration system. The details of the form must be added to a text file not the tradional database.
Each time a new user adds a record it should be added to the list at the bottom to the previos adder.
Does anyone have a script sniplet of how i could do this.
Remember details from the form i.e. name, firstname should be added to a text file...

View Replies View Related

User ID

How can I get the user information of the user as which the ASP script is being run?

View Replies View Related

Get User Name With WIA

I am new to .NET and I am trying to get the user name from a kerberos ticket and I have no idea how to do that. There seems to be some ability to do it using WSE 2.0 but I cant really see why there is not an easier way. how to do this?

View Replies View Related







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