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


ADVERTISEMENT

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

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

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

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

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

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

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

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

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

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

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

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

ASP Method

I have downloaded the DiscIDCalc program from CDDB. I've used it a lot because I've written my own application for my CD collections (keeping track of the track information of each CD, track duration etc). I've already got all my CDs into the application, I'm now just going through each of the disc again just to add in the DiscID information. I do it by running the DiscIDCalc program, generating the DiscID, and then then copying and pasting this DiscID into my application and then save it.
if anyone has successfully generated the DiscID within an asp page?
Now I have to have my browser up and this DiscIDCalc program up. Just want to know if there's a way to incorporate the two together (even if it means I'm not using the DiscIDCalc anymore.). This DiscIDCalc has a documentation for its DiscIDCalcDLL.dll but it's not something that I can CreateObject with, so I'm quite clueless... I don't want to use VB to write APIs for that

View Replies View Related

Using Get Method

I use query string to search for records by using GET method. This method will generate querystring automatically by using the form name. Using search field together with drop down is fine but the problem is when i didn't enter any keyword or left the search field blank it won't display any result.

Unless I put "%" in the search field. How do I make the querystring change to "%" whenever the field is blank so that all records will be displayed.

View Replies View Related

UPDATE Method In ASP,SQL

i am trying top update a field in my sql database but it wont let me??? does anyone know if my syntax is correct?? I have a field called userId in the database and want to replace it with my form request. Code:

View Replies View Related

Method Not Allowed

Method Not Allowed
The requested method POST is not allowed for the URL /Database/processForm.asp.

Apache/1.3.33 Server at antonyx.freestarthost.com Port 80

i just got this error, however, i have managed to post data into my database on this server b4, why is this error comin up now, could there be a prob with my asp file??

View Replies View Related

GetString Method

When using ActiveX Combo Boxes, can you use the GetString method to populate the control? I currently am using AddItem, however, it is taking a long time to process. I know that GetString works well to improve the performance. Here is my code while using AddItem:

while not rsClient.EOF
Response.Write chr(9) & "MenuForm.lstClient.additem " & chr(34) & replace(rsClient.Fields("Client Name").value,chr(34),"'") & " [" & trim(rsClient.Fields("Client Number").Value) & "]" & chr(34) & chr(13)
rsClient.MoveNext

View Replies View Related

POST Method

Now this is a weird one. I'm having a problem with a system in development. When I post data from a form in IE 5.01 it works fine, but in IE 5.5 it refuses to post the data to the server and in IE 6 it's scatty -- works sometimes but not others. Anyone seen this before?
Edit:
By the way -- this is normal VBS/ASP running on IIS 5 on an NT server

View Replies View Related

Redirect Method

can values of variables be transfered through response.redirect onto the next page

View Replies View Related

Post Method

I have a form that ignores my form validation code. My code works if I use the post method of <%=Request.ServerVariables("SCRIPT_NAME")%>.

But, If I post the form to another .asp page, which I prefer, the code doesn't work. Do anyone have any suggestions? Here's my code.

I have a form that ignores my form validation code. My code works if I use the post method of <%=Request.ServerVariables("SCRIPT_NAME")%>. But, If I post the form to another .asp page, which I prefer, the code doesn't work. Do anyone have any suggestions? Code:

View Replies View Related

ASP HTTP GET Method

I have a service provider that's sends sms messages from clients mobile
phones to my asp page, problem is I don't know how to show the data and they
are not being helpful.
The process is simple as outlined below (instructions from service provider

Example: If you provide this: http://www.yourdomain.com/sms/sms.asp then we
will do a post via a standard HTTP GET as follow:

http://www.yourdomain.com/sms/sms.a...ISO-8859-1&udh=
How do I receive the url with the parameters in the address bar?

View Replies View Related







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