Sharing Data Among Pages On Different Domains Using ServerXMLHTTP
I'm including the output of an .asp page hosted on other domain using serverXMLHTTP.
Is it possible that I can share the values of some variables from external file.
Like session or others like (suppose..)
TablesBGColor = "#FFG445"
TableHieght = "600"
session("ImagesFolder") = "http://www.SiteABC/_images/"
If i include the settings.asp file on the top of my asp page then How can i use
the above mentioned variables/values down in my own ASP page.
View Replies
ADVERTISEMENT
Suppose I load data from a database and store it in a VBScript array using asp (i.e. this is all done from the server)
I then want to have some client side scripts (they have to be client side because they are activated depending on what the user does on the page). Is there any way of accessing the array generated at the server, through the client side scripts???
If not, how else can I write my page?? The data is loaded from a database, which is obviously done at the server. If not by doing what I have already described, how else can i use the database data in my client side scripts???
View Replies
View Related
I really need a coding help regarding sharing Folder Module to specific members through giving them rights for access while using Classic ASP....
View Replies
View Related
how d code works under this category?
any samples?website references?recent projects?
i'm looking for ideas..
View Replies
View Related
How do I can Call .net dll in an asp Page.I want to implement .Net formsAuthentication as dll in .Net and I want to use that in my asp pages.My project contains both asp and asp.net pages.My Logon page is an asp page. How can I do this?
View Replies
View Related
i want to send my form variables to two pages? something like this:
<form method="post" action1="page1.asp" action2="page2.asp">
<input type="text" name="mytext" value="myvalue">
</form>
i want to be able to do this . equest.form("mytext") on page1.asp and page2.asp? know above does not work...but how would i achieve something like this.
View Replies
View Related
to share files is 1 thing as IIs will od it just fine on its own, however i would like to give my site a little more than white backgrounds and garbage about times files are created so i ( with some help ) wrote the following script. Code:
View Replies
View Related
After a ASP page call a DLL I cant't delete the DLL anymore.
"There has been a sharing violation file may be in use"
View Replies
View Related
I have several hundreeds of DVDs, and friends often call
me to borrow some.
I'd like to be able to have my entire collection on my
web page (i have everything in a database already) and
let them browse for the title they want, then "check" the ones
they need and see if they're "available" or not.
Then this would send me an email with the titles and the name
of the person requesting them.
Is there any ready to use solution or should I just jump into
developing it myself?
If there is something, any link to a product like that?
Something simple: title, cover picture, available or not.
View Replies
View Related
How can I through asp figure out if a page is opend through a regular link
or from form post method like this :
<form action="something.asp" method=post>
//code...
<input type="submit" value="Ok">
</form>
View Replies
View Related
I have a asp page created which pulls information from an access
database. One of the things it pulls from the database is the address.
I want to put a link on this page which when clicked will open a
smaller new window asking the user to input their address. Once they
input the address and hit submit, the 2 addresses, user inputted (as
starting point) and the one from database (ending point) needs to be
inputted such that a url is formed, leading to the directions page on
yahoo or mapquest or any other site.
My question is how do I take the ending address and pass it over to
this new page (using http_referrer???) and then construct the url to
the directions page.
View Replies
View Related
What are the alternatives to share data between two ASP pages ? My problem is related to the need to invoke a page passing as argument a location reference, wich is converted to a GIS web page and visualized in a child page, but, on that GIS page the user can click an option to return to the original page with new data selected from the GIS page, so that original page should be able to read them and react to those data coming from its child. I don't know if there is a way to communicate both pages in both ways interactively. Cookies Web services ActiveX Is there a way to share a "common data area".
View Replies
View Related
I have a developed asp page where user inputs the data and it will be submitted to another page. I want the data submitted to two pages of different application.
for example the code:
<form method="post" action="test.asp"&"test1.asp" name="processData" onSubmit="return ValidateAndCreateInstanceName( );" >
with the above code, i am getting error.with one form, how can I submit the data to two pages??
View Replies
View Related
How to use VB to send data to ASP pages?For example,i click the ON/OFF command button.If ON button is pressed,the user that viewing the ASP page can be able to know that the ON button is pressed.
View Replies
View Related
We were using asp pages to mine data from our ms access dbs. Now have upgraded to 2003 ms access. I tried the data access pages and am able to of course query data on the website from the db elsewhere.
Do you HAVE to have ms access on the machine to access the data this way? We tried of course and got "data provider could not be initilized". Is there a way around that?
View Replies
View Related
I am having a problem tracking down what I believe to be a problem with
the way cookies are being used on our website application.
When user log onto the application, an in-memory (per-session) cookie
is created to hold the session key for the user. This unique key is
assigned as part of the business layer logon process, and never changes
while the user is logged on. The call to the business component returns
this unique key if the logon was successful, and the cookie is set up
as follows:
Response.Cookies("SessionKey").Path = "/"
Response.Cookies("SessionKey") = strSessionKey
Nowhere is the cookie assigned an .expires value.
Once a user has completed this logon process, they must then click past
an intermediate agreement page before actually having access to the main
application. When this intermediate page is submitted, it accesses the
cookie, extracts the session identifier and writes the value to a
database table.
The code to achieve this looks something like:
strSessionKey = Request.Cookies("SessionKey")
Dim objInstance
Set objInstance = Server.CreateObject("SomeComponent.SomeClass")
objInstance.StoreIdentifier strSessionKey
Set objInstance= nothing
The whole process works fine until I try to do the second stage (the
intermediate agreement) with two separate IE sessions (there are 2
separate IEXPLORER.EXE entries in task manager) very quickly.
I can go through the whole process fine, and then while leaving the
application open, I can start again with a new IE window and complete
the process again. In each case the correct identifier is stored in the
database for each separate session.
If I get to the second stage of the logon process with 2 separate IE
sessions, and submit both agreement pages at the same time (or as close
together as I can), then they both write the same unique session
identifier to the database, as if they are accessing the same cookie!
The session identifier used is the one from the first agreement page I
submit. This definitely only happens if I do this at the same time.
Wait a few seconds between the submissions and all is well.
Has anyone come across something like this before and can advise on a
possible reason?
View Replies
View Related
Because of �refresh� problem after updating the form. So, I have to put the confirmation message in a seperate page:
1.update.asp page click update - goes to updated.asp (update to the db and sending email) then redirect to updatedconfirmation.asp page (confirmation message)
I would like to carry a few information from update.asp page such as name and their address to the confirmation page depends on their ID, how can we I do that in the updatedconfirmation.asp?
I�ve used hidden fields in the update.asp page. but there is nothing display in the UpdatedConfirmation.asp page Code:
View Replies
View Related
I have a situation where we have a mirror server located outside of our domain. Using ASP, I need to have the web server on the different domain access files on a file server that is within another domain and be able to display the file from the web page. They are Word documents and PDFs and Excel files. But for security reasons, we can not use anonymous access. On our production server we just use mappings within IIS to perform this, because it is all within one domain. I hope someone has had a similar experience and can tell me how this can be done using ASP or some kind of component.
View Replies
View Related
I am creating a form that has 5 steps/pages. Each page contains about 20 fields. But I don't want to write them until they submit on the last page. I figured out that I can use hidden fields to carry the data from the previous forms forward. If should bascially work like this:
Page 1 Page 2 Page 3 Page 4 Page 5 Page 6
20 Fields 20 Fields 20 Fields 20 Fields 20 Fields 100 Hidden
20 Hidden 40 Hidden 60 Hidden 80 Hidden Write to DB
But the problem I am having is when I submit page 4 page 5 won't load. No error, it just won'tload. It seems to be overburdened. Is there a max on the number of fields it can pass? Is there a better way to go about doing this that someone can suggest? Or a suggestion that someone can make to fix this problem?
View Replies
View Related
Is it possible to use cookies between different domains?
For my site I use 2 domains;
the first for my global site with ASP en HTML, the second is for my forum located on "hyperboards" a free forum domain. On de second domain i don't have any control and i can't put any new webpages on that site.
But I want to use the cookie of my forum on my global site.
View Replies
View Related
I have a situation where I have a customer with one e-comm site and two domain names. Both domains currently point to the one site but they want different logos and purchase tracking for each domain name as visitors come through. I am not that well versed in using the HTML headers but somewhere I seem to recall a way of using the headers to identify the url/domain and then redirect or setup session variables for handling the rest.
If this is ringing a bell with anyone I could use a pointer to more info on this.
View Replies
View Related
ive got a piece of software (perl) that i use to track visitors on my site.
this software displays both ip addresses and domains of visitors
e.g.
A visitor from 81-178-202-110.dsl.pipex.com (81.178.202.110)
arrived without a referring URL,
and visited www.newmediadesigns.co.uk/index.shtml
at 03:01:28 PM on Friday, March 26, 2004.
This visitor used Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1).
what code do i need to display this domain information in asp?
View Replies
View Related
Has anyone got a script for a domains/hosting cart running off an Access db. There seems to be quite a few PHP/Perl versions around but very little ASP.
View Replies
View Related
On one of my client's website customer's are uploading a few files each week using SA-FileUp. My clients wants that each uploaded file to be copied on another website he has got.
Any hint on how to copy one file between domains ? I was thinking about using AspHTTP which is installed on the original server but not on the other end.
View Replies
View Related
how i can build a script to list deleted domains ? then obviously i can add more features on from there, ive looked everywhere and all of them seem to be php so i cant see how they do it.
View Replies
View Related
I think I may have a problem with the user of cookies in my centralized logon and registration system that I hoped could be consumed by all the sub-domains on my remote host IP. I built the application in the root of the IP and redirect the user back to
his requested page after his Login. Just before this I set a permanent cookie.
But, it appears when the user gets back to the page its GONE. However, if I go to the same address via IP and correct folder path IT is. How can this be. I thought a cookie was written to the browser. what difference does the domain make. can I salvage this application without having to deploy it in mutliple sub-domains?
View Replies
View Related
Basically use Plesk to manage websites on a server and in the process of migrating domains. However Plesk creates virtual domains and all my websites use the following syntax to reference asp include files:
<!--#INCLUDE VIRTUAL="/misc/includes.asp"-->
This doesn't work now as the websites were setup with websites and NOT virtual domains.
So how do I successfully reference these files now?
View Replies
View Related
Is it possible to backup a Database from one domain to another using the File System Object? I want to save a DB from a folder on my1stsite.com to my2ndsite.com but obviously the server.mappath won't work and putting the URL of the folder to save to doesn't either i.e. http://www.my2ndsite.com/savefolder/myDB.mdb .
View Replies
View Related
We have 2 domains for internal purposes: one for users (have to login
and domain has SSL) and another for sponsors (have to login and domain
does NOT have SSL).
Now when a user logs in and there are pages that have info from the
sponsors domain, users are asked to login again with a warning message
saying if they want to see secure and nonsecure information. How can
I bypass the second login? Is there something I can do in active
directory, IIS, or ASP to not have the second login appear?
View Replies
View Related
Am using MSXML4.0 serverXMLHTTP for communicating with a remote server. Using POST method of serverXMLHTTP to post a xml string but after calling send method its give "HTTP 1.1 405 method not allowed" in response status text.
View Replies
View Related
We use the following configuration on our development environment:
Server - win2k spk4
Local Computer - win2k spk3
We use the following code on the server to access a page on the local
IIS :
Set objSrvHTTP = Server.CreateObject ("MSXML2.ServerXMLHTTP.4.0")
strUrl = "http://" & strLocalComputer & "/maoz/ShowRecNum.asp"
objSrvHTTP.open "GET", strUrl , false
objSrvHTTP.send()
lngRecNum= objSrvHTTP.responseText
set objSrvHTTP = nothing
When strLocalComputer contains the local computer name, we get the
requested page. But if we use the IP address of the local computer we
get the error :
msxml4.dll (0x80072EE7)
The server name or address could not be resolved.
We manage to run the URL with the IP address from a browser on the
server but not from a browser on the local computer. Any ideas ?
View Replies
View Related
I've two Win2000 Advanced Server (ServerA and ServerB) both part of an Active Directory.
The Active Directory Server is named ServerC.
On ServerA I've published an asp page PageA.asp inside a virtual directory VirtuaA.
On ServerB I've published an asp page PageB.asp inside a virtual directory VirtuaB.
Inside both server I've installed Microsoft XML Parser 4.0 sp2
Both virtual directories have setted Windows Integrated Authentication.
PageA.asp has to get PageB.asp using ServerXmlHttp object and to show its contents.
When I try to get PageA.asp from any client part of the same active directory I obtain an error: I'm not authorized to get PageB.asp.
I've tried to use every solution founded on previous posts:
- proxycfg -d -p " " "*" on ServerA
- flag "trust for delegation" on Active Directory Control Panel of ServerC
- ASP instruction .setProxy 2, " ", "*" inside PageA.asp
Every solutions have failed....
View Replies
View Related
I've been experimenting with both ServerObjects' AspHTTP and Microsoft's ServerXMLHTTP to access IMail. They both work fine, except for one weird thing.
To log in to IMail via login.cgi, it takes ServerXMLHTTP about 30 seconds. It takes AspHTTP about 1 second. Accessing any other IMail page, the two are virtually identical. But the login page is unacceptably long for ServerXMLHTTP.
Here's the code I'm using:
View Replies
View Related