User Logs

I have five forms in my website, what I'm trying to accomplish is to track the users history. For an example if the user save their information on the first page and exit the system; Whenever that user logs back in I want them to be where they left off. I hope I'm clear on what I need help with. Does anyone know how to accomplish this task?
P.s I'm using Deamweaver to create my page.

View Replies


ADVERTISEMENT

Session Retrieve Of Username Depending On Which User Logs Into The System?

I have my system set-up, where by when a user accesses the cms, a time stamp is added to the database. So we can keep check of when people accessed the system.

The added benefit of my addition, is that a session timeout is usable based on the inputted timestamp the user logged in. I added this functionaility because the system could be idle for some time and if so set the session to equal nothing or similar.

However what would be a nice feature of the cms is the display of the current user.

Below is code I have inputted to give some idea of what I am doing

Session("ADID") = objRS("adminID")
objConn.Execute("UPDATE tblAdmin SET adminLastLogged=now() WHERE adminID=" & Session("ADID"))

Session.Timeout = 30 ' 30 = Minutes

SO does anyone know how I can retireve the adminUsername based on the session used when loggin into the system.

View Replies View Related

IIS Logs

I've been examining IIS logs downloaded from my web host's server, and I noticed that entried that they should have been created by me going to my own site minutes before are not there. In fact, it seems the logs were way off timewise.

How does IIS write to logs? Does it keep a cache and then dumps it once in a while to the logs, or writes right away (the latter doesn't seem the case). I am concerned by this an other anomalies in which my hosting service seems involved.

View Replies View Related

Logs The Datetime

I have a shopping cart that logs the datetime when a user logs in...

I want to run reports to see who all has been on in the last 90 minutes (or whatever my script specifies)

The problem is that I cant get the select statement down...

I would think it to be something like:

SELECT CompanyName, LastLoggedIn from LoginDB where LastLoggedIn > (LastLoggedIn -90m)

And obviosuly that doesnt work as the datetime field date is in the format:

1/21/2007 2:20:00 PM

View Replies View Related

Remote Truncating Of Logs

Every so often my database log files fill up and i have to truncate the file.

DBCC SHRINKDATABASE (database_name_here, TRUNCATEONLY)
GO
BACKUP LOG [database_name_here]
WITH NO_LOG

Any idea how I could run this? From an asp page...?

View Replies View Related

IIS Logs And Server.transfer

I am thinking of creating a custom 404 page which does a server.transfer to a variety of different pages. My question is what shows up in the log, which the web statistics are based on?

1. The non existent page, which is requested?
2. The custom 404 page?
3. The page it gets transfered to?

View Replies View Related

Event Viewer Logs

how can I make a query in windows 2000 event viewer logs by asp?

View Replies View Related

How To Read IIS6's Smtp Logs

i need to parse smtp logs to check the delivery status. from previous experience with smtp logs, i was under the impression that the log file followed a very specific format:

EHLO
MAIL
RCPT
BDAT
QUIT

in this case, however, i've got a log indicating commands being issued like this:

EHLO
EHLO
MAIL
MAIL
RCPT
RCPT
BDAT
BDAT
QUIT
QUIT

i have a separate list from a database of people i attempted to send emails to and need to try to look at each line in the smtp logs until i find a matching email address, then continue to read until i find a line that includes the string "+Queued+mail+for+delivery" or any of the other strings indicating the delivery status. however, given the odd sequence in which the mail commands are being issued, i don't seem to have any way of knowing if the delivery status notification line i'm reading really reflects delivery status info about the email address in question or if it's referring to one of the other delivery requests issued with another one of the EHLO commands. i've tried looking to see if there's something unique about the delivery status line to see if it's in some way associated with the RCPT line, but don't see any patterns:

2005-10-05 11:12:30 10.1.208.103 OutboundConnectionCommand SMTPSVC1 ACME -
25 RCPT - TO:<person@acme2.com> 0 0 4 0 50 - - ......

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

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

User

I have a admin-page wich is username and password protection and Microsoft Access database with table called "member" and fields "username and "password" in it. I wan't to have a welcome message when user is successfully logged in so he/her can see for example "Welcome Chris". How to I do this?

View Replies View Related

Create New User Using IIS/ASP

I'm running IIS5 on a Win2K server, and I want to have an ASP page that
creates new users. I have some simple code to test this, but am getting
a "500" error when I run it. The ASP looks like:

<%

strDomain ="Foo.com"
strUser ="Foo1"

' Create new user with password
Set oDomain = GetObject("WinNT://" & strDomain)
Set oUser = oDomain.Create ("User", strUser)
oUser.SetPassword = "password"
oUser.SetInfo
%>

Just for this testing, I've added IUSR_machinename to the Administrators
group, but am still getting the 500 error.

View Replies View Related

Limit User

How can i limit the number of users on my .ASP page, i want only one user to
be using the page at a time,

The query i have on my page is big and takes a lot of my system resources.

View Replies View Related

One User One Page

I have a login page. and more users. Let's call them users A, users B and Users C. Users A can only access page A, users B page B, ... All the pages uses the same DB, but different tables (table A, table B, table C).

View Replies View Related

User Regisitration

I surveyed 1000 people and 884 of them said that they prefer forms that are filled out in sections (multiple pages) instead of one long form. I am trying to do that with my site. Currently the way I was planning it was:

register.asp - sets up username >>
stage1.asp - checks for unique username >>
stage2.asp - personal info >>
stage3.asp - more personal info >>
stage4.asp - even more personal info >>
stage5.asp - yet more personal inf >>
stage6.asp - employer info >>
stage7.asp - Finished

When users go to register, I want to:
select a user name and password, then make sure the user name isnt taken, make sure the passwords match, collect personal info over a few pages, then finish.

I would like to do all this only utilizing the register.asp and possibly a process page. Anyone have any links or tutorials on creating pages like this.

View Replies View Related

User Variable

Do you know how to get windows login variables (i.e. the LOGON_USER server
variable) from ASP without having to fill in the challenge response message
box that automatically appears when you configure IIS to Integrated Windows
Security for a particular site? I don't want users to have to log in again
to the site as they have already logged in to windows but I want to use
their username on the back end to verify permissions. Is it possible?

View Replies View Related

NT User Authentication - Is It Possible?

I'm facing a situation where my team leader wants me to create some ASP code that will pull the user's ID (which is no problem - request the LOGON_USER server variable) and THEN pull that user's NT Permissions to determine what kind of permissions the user will have when he/she comes onto the website. There is to be no logon screen at all. The permissions cannot be determined via a database or through cookies. Only NT Authentication can be used.

I have a small hunch that the HTTP_AUTHORIZATION server variable might provide a clue, but the value of that variable is a bunch of (encrypted?) gibberish that means nothing to me, except probably the NTLM part at the beginning. Is there a way to decode the value of that variable into something coherent that I can use in my code?

View Replies View Related

How Can I Allow A User To Logout And...

I have a button that would allow a user to logout of the program, how can this be done? Also, how can I allow the program to logout and terminate if not used after so many minutes?

View Replies View Related

User Management

What I am trying to do is to develop a dhtml based chat system.
So far everything is working as planned, took me over 6 hours to get it
working, but I am pleased with the results, it is comparable to java
chat. With no page refresh.
My problem is
How do we manage which users are online on chat and which are not.
I do not wish to use any application variables nor do i wish to use
session variables. i am trying to avoid the 2
Either the user may simply close the chat window, or he might just go
and browse another site. Either way I do not get to write the even to
the database.

View Replies View Related

Redirect The User

I want to redirect the user to the page that they came from?could someone give me the code

View Replies View Related

User On Form

I have created a form with simple fields such as address and phone number. I would like to, in real time, take the value a person puts in for name (ex. John Smith), check a database to see if he is there, then to populate his address fields and phone number to save the user the trouble of typing it in repeatedly.
Any ideas how to go about this? I created a button for the user to "look up" to see if his info is saved but cant seem to get the syntax write. I have written similar code for the information to be put in the database, and it works, just need to retreive it while the user is on the form.

View Replies View Related

Adding New User

How can I add a new user on my server using ASP?
User example: myserver/user1

View Replies View Related

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

User Of Session

When is Session_OnEnd event working , ive tried Abandon , Timeout still its
not working. will a session end , while closing the browser window ??

View Replies View Related

Get User Details

I'm trying to get a very simple task to work. Using the users login name
(gained from IE) I want to get their full name from AD (Win 2k and 2003 AD
domain).I'm using this ASP code on the IIS server:

usr=mid(request.ServerVariables("LOGON_USER"),8)
Set User = GetObject("WinNT://domainname/" & usr & ",user")
response.write "Name is " & User.Fullname
set usr=nothing

This code works fine when run on the server direct using wscript, but when
served by the web server I get the error:

Active Directory (0x80070005)
General access denied error

View Replies View Related

Prompting To The User

i was asked to
"
Write an ASP page that prompts a user to enter the value for the radius of a
circle then calculates its area (Area = &#8719; * (radius)2) and another ASP page that
also prompts the user to enter the radius and then calculates the circumference
(circumference= 2 * &#8719; * radius ). Both pages should access the value of &#8719; (&#8719; =
3.142) stored in the application state."

*** my problem is in prompting to the user i cant prompt a window in the asp script and if i prompt the window from the javascript i don't know how to send the value to the asp script.

View Replies View Related







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