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
ADVERTISEMENT
I need some asp code that can give me the user that is logged on to the PC.
View Replies
View Related
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
View Related
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
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
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
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 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
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
have a site with one asp page that sells a product. i have a thank you page that sells my product with a click on download.
how can i prevent a user from going to my url/tankyou.asp
and download it manually?
i want the user to download the product only in case he made it! i cannot control the sale pages as they are 3rd party credit card transactions and i do not have a database
View Replies
View Related
how to check in ASP using SQL database for existing user. I have some idea like do a select but I need the syntax.
View Replies
View Related
I need VBscript to Check if user is a member of an Active Directory Group. I read about something called "MemberOf" to check that.
View Replies
View Related
I want to add the "Did you mean" - Google feature to searches on my
website.
My website lets users search for a business using different
parameters.
If there is no match, I want to do a spell check on the entered
parameters.
I need to be able to check words with an english dictionary as well as
add words(business names) to the dictionary. Code:
View Replies
View Related
I have the following line of code in an asp.net app?
Response.Write("<script>ret = confirm('Print Orders?');</script>")
How can I check the value of the variable ret in asp.net? I want to be able to check the repsonse from the user before continuing with my asp.net code. Is this possible, or am I going about this the wrong way?
View Replies
View Related
I need to check to see if the Current logged in user on the system
is a member of a group called CustAdmin on CustNT Domain.
If the user is, I need to allow them to have access to the following:
Code:
<br><br>
<input type=Button value = "Click To View Credit Report"
</form>
<hr>
This is a Windows 2000 network.
View Replies
View Related
write a simple function to check the user input from a form. I need to check that the string contains only numbers, has a maximum leght of say 15 and that the first number is zero.
View Replies
View Related
i'm going to ask the way to use database to check user permission level in asp..
View Replies
View Related
By using <authentication mode="Forms" > in web.config, we can create
self-designed login page, but how to check user's account and password is
vaild in another domain controller?
Does <authentication mode="Windows"> can have self-designed login page?
View Replies
View Related
I am having trouble trying to detect if no records are retrieved by the search. There doesn't seem to be a problem with the connection to the database or the SQL query. I think the problem is somewhere in my If statement. Code:
View Replies
View Related
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
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
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
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
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
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
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
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
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
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
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
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
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
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