Server Variable REMOTE_USER

I'm writing a page and i need to store the username of the person submiting a form so that that person can later edit the information if need be. But right now the only variable giving me a value is REMOTE_ADDR. Which will work but if the ip changes ect it wont.

Right now REMOTE_USER, LOGON_USER, UNMAPPED_REMOTE_USER, and AUTH_USER all return a Null string. I dont have direct access to the server so any options i need set i need to make a request to the I.S. Department. What do i need to do so that the server retreives this information?

View Replies


ADVERTISEMENT

Remote_user

We are in the process of migrating our web servers to IIS 6.0 from II5 5.0 and having an Issue with ServerVariables.When I try to get Request.ServerVariables("REMOTE_USER") I get domainname/user.

What has to be done to just get the user.I know we can do a substring but the code has to be changed in about 200 pages and testinng will be a nightmare.Any other way we can just get the user without domain.In my current code I just get user.

View Replies View Related

Retreving REMOTE_USER

i've got an iis server on NT4 and i'm trying to use asp to retreive the REMOTE_USER. this however gives me an empty string. how can i get it?

View Replies View Related

Reset Remote_user Servervariable

i use nt user authentication on our iis 5.0 webserver. user get a login popup for username/password when they connect to the website. i also use session handling which works fine. the session ends when the user uses my logoff process.

but unfortunately, the remote_user server variable is still filled with the username. so the user can just call the website again and he does not get the username/passwort pop up. is there a possibility to empty/reset/destroy the remote_user servervariable
(maybe on client side, cookie)?

View Replies View Related

Server Variable

Is it possible to assign a value to a server varaiable? i have installed a program and i want to set a value to a new varaiable HTTP_NEWVARIABLE. How can i do this?

View Replies View Related

Server Variable

i am making an online application for my company where only company members can access it. anyone know any server variable or how to make this happen. i need to know the computer name of the user . i can track the ip but need the computer name.

View Replies View Related

Server Variable

I hv recently developed a site which was developed locally within a domain, and for some simple restrictions I used an if statement based on the server variable 'auth_user', and all worked.

All was working fine until I need to now move the project. It is being hosted within our company but on a different subnet and now the variable is not being passed through, which im guessing is something to do with the different location.

View Replies View Related

Server-Side Variable

<%@ Language=VBScript %>
<%
dim a
a=10
'I want b=a at this place
%>
<Script language=VBScript>
dim b
</Script>
How can a'value be given to b by program?

View Replies View Related

Setting A Server Variable

I know that you can do : Request.ServerVariables("QUERY_STRING") but can
you actually set a serverVariable?
I know that sounds counter intuitive , but is it possible, via vbscipt/asp?

View Replies View Related

AUTH_USER Server Variable

how it is possible to change the value of the AUTH_USER server variable? Is this possible? If no, how I could change the logged user?

View Replies View Related

Passing A Variable To Another Server?

its for a uni project and i need some help, my uni asp server doesnt support CDONTS and i cant get an automatic emal thing to work, but i have got a simple php one working on a different server (www.slinky-designs.co.uk)

now the user is entering their email address ( variable = "m_ail") in flash and passing it to a asp script to put it in a database, and i want to email out the user welcoming them to the list. I have been told i need to set up a poxy script to pass this variable over to a php script on the other server.

View Replies View Related

Server Variable For Querystring

Is there a server variable that returns the query string part of a url?

Below gets my page, but i need to capture what comes after ".asp"

Request.ServerVariables("URL")

returns

/mywebpage.asp

View Replies View Related

Changing Server Side Variable

how I could change the value of a server variable when the user clicks a button. The asp page displays a report using server side vbscript, and I have added an 'export' button that will copy the report to a file. I need this button to change a boolean so that the page will re-run, writing the report to the file instead of the screen.

View Replies View Related

Server.execute Inserting A Variable Into An Array

I have a main page 'album.asp' which server.executes a file 'alicia2.txt'.

I am currently using session variables to move the values of the variables back and forth. I have run into a problem with an array. I currently have : Code:

View Replies View Related

OnClick Event Increment Server Side Variable

When the user clicks a button, I want to increment a server side variable by 1. When the user clicks a different button, I want to decrement a server side variable by 1 only if the variable is not less than or equal to 1. Does any one know how to do this?

View Replies View Related

Accessing/Passing An Object Variable To A Server.Execute Include

I've been browsing this and a few other related newsgroups trying to get my head around this problem, and so far all the trails seem to go cold, without an acceptable solution being reached. I'm posting here because there seems to be a few MVP's knocking around, and if they dont know, then it's a safe bet nobody does.

I'm beginning to think that what I want to do is simply not possible - but i'll put it out there once more.

Here goes: I'm writing a content managaement system - and i'm making use of dynamic includes via the "read a text file" technique, and then substitiuting values into markers in the template. Code:

View Replies View Related

Calling Com + Object Variable Or With Block Variable Not Set

I'm turning my application into a "DLL". Everything worked fine untill I try to do a "While" in my asp code. Then I recieve an error like this:

"Object variable or With block variable not set"

My vb code look like this.....

View Replies View Related

Passing Data From Javascript Variable To Asp Variable.

is there any way of passing a javascript variable over to a asp variable so
i can write it to my database.

View Replies View Related

Convert ASP Variable To Javascript Variable

How do I convert an ASP variable to a Javascript variable?

View Replies View Related

How Do I Put A Variable And A Non Variable In A From Statement?

sql = "SELECT * FROM & console &'news'"

I got that right now but i want the variable, console to be placed along with news so when it selects from the db it selects from gcnnews or whatever variable it's on. How do I do that?

View Replies View Related

Variable-variable=junk

im trying to subtart one quantity from another then stick the answer in to an update statment, but all i get is an error in syntax message

variable math bit=
qty=request.form("oqty")-Request.form("qty")

sql =
sSQL="Update spares SET spares.location='"&request("location")&_
"',spares.machine='"&request("machine")&_
"',spares.part_desc='"&request("part_desc")&_
"',spares.part_number='"&request("part_number")&_
"',spares.qty='(" & qty & ") "&_
"',spares.min_qty='"&request("min_qty")&_
"',spares.updated_by='"&session("name")&"' WHERE(spares.id)=" & form_id

View Replies View Related

Variable Name, Dependant On The Value Of Another Variable...

I need to assign a value to a variable, but this variable name is dependant upon another variable!! I am including the code below so you can see it, cos if not I am sure you are thinking whattt?? Code:

View Replies View Related

[Microsoft][ODBC SQL Server Driver][DBNETLIB]"The SQL Server Does Not Exist Or There Is No Permission

I have sql server express at my PC-windows xp professional, I try to connect to a table via asp (queryString :"Driver={SQL Server};" &"Server=localhost;" & _
"Database=local;" & "Uid=nikos;" & "Pwd=nikos;" but there is an error
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC SQL Server Driver][DBNETLIB]"The SQL server does not exist or there is no permission.

I can login with EMS lite both with sql server Auth. and windows auth.What is fault?

View Replies View Related

Server Object Error 'ASP 0177 : 800401f3' Server.CreateObject Failed

I'm trying to install a simple e-mail form to my webpage; which takes some info from user (like name, phone, e-mail,etc...) and when user pushes submit button e-mails them to me immediately. I've tried to do so with ASP Formmail but I couldn't succeed. . it gives me: Server object error " 'ASP 0177 : 800401f3' Server.CreateObject Failed " error. Can anyone please help me to install my form? Because I need to install it immediately;

View Replies View Related

Server Object Error 'ASP 0177 : 800401f3' Server.CreateObject Failed

I'm getting the error,

Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/pdf_project/form1.asp, line 19
Invalid class string

I'm trying to submit the data in my pdf form to the web server.I've written the .asp code for it but it has been giving me this error.

View Replies View Related

How To Read An SQL Server Into A ASP Page And Then Change, Add, Delete And Write It Back To SQL Server

I need to read a SQL Server table into a Web Page and within the Web
Page to permit my users to make changes to the records, delete or add
new records and then save the entire contents back to the SQL Server
table back.

The functionality I am looking is almost the same as In the SQL
Enterprise Manager whereby I can choose a table open the table and
then return all rows and I can maintain the same and save it back to
the SQL Server table. I want almost a similar web interface to such a
functionality.

Even if not a generic functionality as the SQL Enterprise Manager
table maintenance appreciate if somebody can share the code with a
sample how I can do it in ASP pages + T-SQL if need be.

View Replies View Related

Server.CreateObject Error: Server Object, ASP 0177 (0x800401F3), Invalid Class String

What do I need to do to enable CDONTS om my macine to make it working

I'm testing the code:

Dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail")
objCDO.To = "xyz@xxxxx.com"
objCDO.From = "zyx@zzzzz.com"
objCDO.Subject = "TESST CDONTS MAIL"
objCDO.Body = "SOME TEXT TO SEND OVER"
objCDO.Send
Set objCDO = Nothing

It gives me an error after Set objCDO =
Server.CreateObject("CDONTS.NewMail")
Server object, ASP 0177 (0x800401F3)
Invalid class string

View Replies View Related

Sending Email By Using Corporate Exchange Server Instead Of Local Server

I have created a form that sends email thru my local server. What I want to do is send the email thru our corporate Exchange server. Does anyone know how I can accomplish this task? Please advise. Thanks.

P.S. I’m using Dreamweaver MX2004.

The code that sends email is shown below ....

View Replies View Related

Server.execute/response.redirect/server.transfer

Real quick, please refresh my memory which one of the following preserves the information that was posted from a form?

server.execute

server.transfer

response.redirect

I need to have a page execute if an error occurs while processing a page that a form was submitted to and have the data preserved.

View Replies View Related

HTTP 500 Internal Server Error Online Server

I have made a site in ASP and I can navigate the site fine locally. However once I get to the product page I get:

"HTTP 500 - Internal server error Internet Explorer"

Does anyone have any idea as to why this may be? ....

View Replies View Related

Server.Mappath() To Include Files For Other Domains On Same Server?

If I have multiple websites on the same server,can I use the #include directive to reference include files elsewhere on the server? I tried this -

<!--#include file="C:InetpubvhostsATRAMEMBER.COMhttpdocsheader.asp" -->

But no dice...

View Replies View Related

Combining Index Server And SQL Server Search Results

I'm just about to start a project that needs to combine the results of a SQL
Server query with the results of an Index Server query. The basic idea is
that the user enters/selects a bunch of search criteria on a form.

Most of
the criteria selected by the user will be used to select records from the
database - standard WHERE clause stuff - but the user can also enter
free-text that should be searched for in associated uploaded documents.

The
documents are sitting in the file-system with file-name pointers only stored
in the database (not the document). Only records where the associated
free-text is found in the documents should be returned. I'm new to Index
Server and am wondering how is this done. Any good references/tutes?

View Replies View Related

External Server Pull Files From Internal Server

I have an application that needs to pull files from an internal server. This
is the setup. The web server is external facing, meaning exposed to the
internet. I then have a file server that sits inside our domain. I created a
COM object that can impersonate a user to retrieve files from that server.
However, I cannot get the application to pull files from the internal server.

I first tried a domain account that could reach both servers. This did not
work. I then had the network team create the same account on both machines.
This is not working either. I can impersonate the user (I am able to get the
user/users authenticated), but the script keeps coming back with and access
denied. Code:

View Replies View Related







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