Cross Server Database Communication
I am trying to find a way to make an asp page on one computer access a database stored on a different computer and perform numerous operations on it. I am unsure if this is possible as up til now I've always used a database in the same folder as my .asp pages. Can anyone provide some insight into this?
View Replies
ADVERTISEMENT
I want to make simple log in system with the password and username and the user will go into there own session. Now once in the session I want the user to be able to add a point to there point total. But when they log out; If they log back in I dont wont them to be able to add a point. once 24 hours pass they can add another point. Im not intrested in using cookies either unless u know of a way to use them so the user cant alter the cookie so they can add another point.
BUT MY MAIN THEORY WAS; I create a notepad(or include not sure what to use for this) which each user will have on the server. An when they add a point this is stored in the users notepad on the server An everytime they log in this notepad is checked and depending on if the notepad has 1 or a 2 (1 being yes and 2 being no). The user will not be able to add a point again if the notepads results are checked. So I want to check against the server with conditions to determine if the user can add a point or not.
View Replies
View Related
how to communicate with a Microsoft Access Database that is not stored on the same server as the .asp file that needs to communicate with it.
Unfortunately the server that hosts the website I am working on does not support Access Databases, but they said if I could find a way to host the database on my own machine and have the .asp file communicate with it from their machine it would be fine. So... does anyone know how to do that or where I could find some information.
View Replies
View Related
I am facing a problem that i am unable to connect to Live Communication Server using my own UI. Actually i want to access the API's in LCS through my own UI(which is a messenger UI),which i am using to implement chatting messenger in my project.
The main reson is that i dont know the code to connect to this LCS and what namespace shld i use so that i can access all the functionality of my LCS 2005.
The coding is to be done in c#. I could have used the MS OFFICE Communicator direcltly but i have to use my oen UI and thus i need to connect to this LCS...
View Replies
View Related
Im in contact with the developer who built the other website and he is being helpful in writing the code on the payment confirmation (which only he has access to).
I need to be able to update my database when an order has been completed (from the confirmation page on the other domain). Can you update an access db from another domain? if so are there any security issues? what, if any, permission do i need to set up ie: on the database or on my domain? what is the code to do this?
View Replies
View Related
Is it possible to communicate between two servers using IIS and ASP... perhaps overriding the response and request?
What I want to accomplish is do some database synchronization from a laptop copy of a web app to the live version, this would be done once the laptop is connected to the internet.
The laptop user would enter an ASP page which would send data to the live server (perhaps to another asp page specializing in translating the data), which would then send back requested data in the response and/or accept updated data.
View Replies
View Related
I want to transfer a text file and receive text file through ftp. Is it possible in ASP. If anybody knows then please help me or give URL
View Replies
View Related
i need a asp coding to communicate with the printer.here i need to get printouts of the selected data from the system .inside my interface i give the printer port in the network,printer path and the username password,after checking these things it specify the print job .
View Replies
View Related
I am developing an application over the web(intranet app). Now my problem
has to do with secure communication
between browser and webserver. I want to enable secure communication using
https. Are there any alternatives other than buying certificate for virtual
directory ?
View Replies
View Related
My web application often hit to the below error:-
Microsoft OLE DB Provider for ODBC Drivers error'8004005'
[Microsoft][ODBC SQL Server Driver]Communication link failure
However, if I restart the web application, it works find.
View Replies
View Related
I have a swf file in one domain and an ASP file in another domain; the swf doesn't not receive the variables form the ASP, how can solve the problem with crossdomain policy?
View Replies
View Related
My code works in IE but not in Netscape. Can someone let me know what should be done in order to view the javascript function also in Netscape. Thanks.
Script:
Quote: <script language="javascript">
function showurl(v){
var layers = document.all.tags("DIV");
layers['show'].style.visibility=v;
}
</script>
Form:
Quote: <input type="radio" name="check1" value="1" onclick="showurl('visible')"> View all Links
<div id="show" style="visibility: hidden;">
<a href='http://www.myurl.com'
target="_blank">www.myurl.com</a><br />
<a href='http://www.someurl.com'
target="_blank">www.someurl.com</a>
</div>
View Replies
View Related
Can anyone tell me how i can access the value of a variable created in javaScript, within an ASP statement and vice-versa if poss??
View Replies
View Related
Anyone know of a way to allow a cookie to be read by multiple domains, or even better a specific IIS server IP? We're looking to track users across multiple domains within our website group.
View Replies
View Related
We have web server A, sitting outside out firewall in the DMZ
Database server (FoxPro) B, sitting inside out firewall
No trusts, seperate domains.
Webserver A, running just ASP (No ASP.NET) needs to access a DB on B, but
just times out
with no error (bottom of page says done).
I have a strong feeling it is because we need to do cross domain pemissions.
I know how to set this up for ASPNET, but not just ASP.
View Replies
View Related
anyone know how to include a cross domain page?
eg: www.mydomain.com/index.asp, want to include www.yahoo.com page.
View Replies
View Related
I have a web application mainly written in ASP. How can I prevent my pages like login.asp and other important pages from Cross-site scripting malicious attacks. What precautions should I take ?
View Replies
View Related
I manage a site with a normal address like: www.mysite.com
I'm using a cookie to store nicks of my users, with a code like this:
----
Response.Cookies("mycookie").Expires = #January 1, 2030#
Response.Cookies("mycookie").Path = ""
Response.Cookies("mycookie").Secure = FALSE
Response.Cookies("mycookie")("nick") = nick
----
and I'm deleting it, if a user wants so, with:
----
Response.Cookies("mycookie").Expires = #January 1, 2003#
Response.Cookies("mycookie").Path = ""
Response.Cookies("mycookie").Secure = FALSE
Response.Cookies("mycookie")("nick") = ""
Response.Cookies("mycookie") = ""
----
(I know, there's too much stuff in the delete procedure!)
Now I'm going to open some new sections of my site, with subdomain
adresses, like search.mysite.com, shop.mysite.com... and I need that
cookie authentication for the main (www) address is working also in
these subdomains.
I red on the Internet that with the DOMAIN property, I can set my
cookie to make it work for every subdomain, with something like:
----
Response.cookies("mycookie").domain = ".mysite.com"
----
.... and it works!
My problem is when I try to DELETE it: after I set a cookie with
..domain property, it seems to become "read only": any my attempt to
delete (or modify) it seems to be ignored.
Results are the same when I try to write it from the subdomain that
created it (www), or when I try from the "chief" address (mysite.com,
without any subdomain).
Where's my mistake?
View Replies
View Related
At risk of being flamed for mentioning the N-word here ...
Has anybody yet cracked the knotty problem of sharing Session
state between ASP and ASP.Net sites (within the same domain)?
Last time I looked, the two Session() mechanisms were totally
divorced and separate, making step-by-step conversion of Session
-dependent web sites from ASP to ASP.Net all but impossible.
View Replies
View Related
I have just taken over an ASP application that has a form whereby the user on entering details submits it, where an administrator approves the form. lately I have been getting calls from people who on opening a Finalsed Form (non-editable) to copy similiar data to the new form, are finding the new form disapearing and the Finalised form taking on the new data.
Being new to ASP, I am assuming this would be a session thing, considering the Form number is held in a session variable, as are many other fileds of the form? Is this a common "break" in ASP - a user opening another copy of a form and ending up with cross-contamineted data? I havent included intracate details as at this stage I wouldnt know what to include without including the whole 20 pages of 1300+ lines of code...
View Replies
View Related
I'm wondering if it is possible to have an ASP page that "links" to another ASP page on another domain that is generating variables (in the form of a URL string)?
iframes can connect to the ASP file on another domain, however, I don't know how to access that data in ASP.
View Replies
View Related
What libraries would I need installed, or what configuration to the server is needed, to allow me to set a cookie on 'site1.com' that can be read on site2.com
No log-in, just using a cookie from a form on site 1 (name) and being able to print out their name on site 2, without messy querystrings. Is this possible? I cannot find proof that this is supported.
View Replies
View Related
Does anyone have a successful experience in using XMLHTTP or ASPtear to read
a cookie on another domain? Can it be done at all using these or similar
technologies or can it only be done using the redirect trick?
View Replies
View Related
I work with ASP for several weeks now and i really like it! But until now i have just used it in connection with my localhost. I made connections to a SQL Database and to an ACESS Database with using the ODBC Tool from WIndows!!
Now i want to publish my website but i don't know how to handle the connection string kind of thing. My MySQL-Database is on a different server than the website and i need a connection string where i can type in the server, a password and a username and it should then connect.
View Replies
View Related
I'm current working on a project which need to upload local data to
live server database.
Meanings that, i'm current having a server in my local mechine. I need
upload data from local database to live database which host at oversea
company. But i really have no idea how to do this in asp.
View Replies
View Related
I'm new to ASP, I just started learning last week at an internship and I am taking interest to it.But at home I don't have a server to practice on.
My question is do I need to download a server and a database server, or are they both the same thing?Also, what is the best to download?
View Replies
View Related
We have a server for our intranet and one that has this MS Access mdb database we need to use.So basicly we want our intranet asp page to show data from a database located on another computer in the same lan.
For some reason we can not use the database from the intranet computer.
We've tried so far:
-Direct approach with mapped drive
-Direct lan address.
-Linked access database on the intranet computer.
-Modifying user rights.
When one of these solutions are viewed on the intranet server, they work fine. When tried from client computers trough the intranet, we get error of thiskind:
Error Type:
Microsoft JET Database Engine (0x80004005)
The Microsoft Jet database engine cannot open the file 'M:TSTOITProject databasedata.mdb'. It is already opened exclusively by another user, or you need permission to view its data.
/intra/db.asp, line 24
View Replies
View Related
my company is having me design a website for them and I did it in ASP (Classic), with the backend database being SQL Server 2000. I open the connection just fine, and everything seems to work but there's just one problem:
It only connects to the database when I'm logged in as Administrator on the machine (or from a remote machine); if I use my own username/password, I get a 500 Internal Server Error. What's funnier is that if I set IIS to allow anonymous access, it won't let ANYONE connect to it.
Any ideas what's the problem? I think it's something with the connection string (I told it to use a Trusted Connection because otherwise it was saying "[Username] is not associated with a trusted SQL Connection), but since I haven't used SQL Server in the past it might be something with that, as well.
View Replies
View Related
I'm trying to add records from the ASP web page to the database using SQL Server..but i'm not able to do it..Can anyone send me the codes related to the database connectivity..
View Replies
View Related
I want to know the structure of SQL server database table using ASP.Is it possible to know?I want know the exact datatypes also.
View Replies
View Related
I try to get data from a database which is on an other server. I can view the files on this server via the directory "t:" from the machine the ASP pages are on.
Constring:
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=t:database.mdb"
Error:
't:Database.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
View Replies
View Related
I just started learning ASP.NET and i need to learn to use the database for SQL Server 2000 quickly. First, (forgive me for my ignorance) what is a database? Do you guys know any good sites that teach you how to access the database for SQL Server 2000? and have tutorials, and sample code?
View Replies
View Related
My database and ASPs are currently on my local server and now I want to put it on the company's server.
Any pointers how can I do that? Do I need to keep both the ASP's as well as the database on the server?
View Replies
View Related