'push' New Images To Client
Is there a way to use ASP to 'push' a new image to the client every 15 seconds or so?
I guess the entire page will have to be 're-sent' to the client but I'm not sure.I'm trying to 'rotate' a new product image every few seconds.
I could use an animated gif or some java script maybe, but I want to keepthe file small and not have to count on the user having java script enabled.So, I would like to make all this happen from the server side if I can.
View Replies
ADVERTISEMENT
I'm doing WAP push project URL that send to user mobile phone, when user click on it. It will immediately redirect user to download *.mid or *.jpg file.Actually I already got full working code but in PHP
PHP Code:
function returnItem($downloadItem, $file, $mimeType){
header ("Content-Type: $mimeType");
header ("Content-Disposition: attachment; filename=".basename($file).";");
header ("Content-Transfer-Encoding: binary");
@readfile($file);
}
the most importaint part is @readfile($file) which read the file then directly output to the buffer.Can i know is there any similiar code in ASP? else pls suggest me any alternative way to solve my problem.
View Replies
View Related
Can I create a push server using ASP technology?
View Replies
View Related
I am attempting to use the push model for a crystal report from a asp.net project.
I am having two problems. First when I attempt to use a sql command I am able to create the report but when I attempt to push the data to it I get a login failed error. When I correct this I get the original data that was used to format the report not the modified data that I am attempting to push to it. Code:
View Replies
View Related
I output a list of towns from a database via a normal recordset loop into a normal paragraph with links - BUT for some reason it is totally pushing the page out... is there any reason for this? I also placed trim() on the town name in case there were lots of mistaken spaces, etc. Code:
View Replies
View Related
My page have background image,on that image have more images and text. My problem is whenever resize browser that images are not resized and also not moved correct place .(i.e look not like before alignment).I want to do everything in dyanamic....
View Replies
View Related
I try to use script to get client IP
<%
dim IPAddr
IPAddr = Request.ServerVariables("remote_addr")
Response.Write("Your IP Address is " & IPAddr)
%>
but script return IP of Web site, not CLIENT and not null value!
My site is hosted on W2003 server SP1, IIS, ISA
I'm only using ASP no ASP.NET
View Replies
View Related
I've been lurking and searching for a while and hope someday to contribute to the forums.
My question though it may seem strange is this.
Is it possible to run a compiled VB app on the client machine that is called from an asp app running on an intranet server?
Intranet server pushes asp to client's web browser.
Client clicks on a link that somehow runs the process on the client machine.
I realize this is not what asp is meant to do but I do have some applications that could be integrated into the company intranet fairly easily if this is possible. A re-write in asp would be labor intensive. It is simple enough for me to setup standard folders on the clients that require these apps
View Replies
View Related
I have 2 URL's like this:
xy.abc.com
yz.abc.com
They bolth point to an IP where page1.asp is the default. Hosted on a IIS 6
server.
What code do I use inside page1.asp to determine which of the 2 sites above
the user used to access page1.asp.
View Replies
View Related
how can i learn client ip who connect my site..
request.ServerVariables("REMOTE_ADDR") with this i learn my server ip..
View Replies
View Related
The following HTML exists on a page in Internet Explorer v6:
<BODY>
<FORM action="x" method="post" name="Form1">
<INPUT type="hidden" name="key" />
<INPUT type="submit" value="Go" />
</FORM>
</BODY>
What would be the correct VBScript or JavaScript syntax to:
A. Set the value of the key field to "ABC"
B. Submit the form to the server
View Replies
View Related
I am developing an app that has a reporting function
which displays the non-PDF reports. One of the users
wishes to have the reports saved to his machine as PDFs.
The app can convert the reports, and save to the server
with no problem (uses a component for this). The problem
is, figuring out how to save the reports to the client.
The ideal approach would be to have the app save the
reports to his desktop, like some of those stupid casino
sites save their shortcut links.
However, I would settle for just just being able to force
the "download" dialog to display, instead of opening
Acrobat when the app attempts to send the report to the
client.
View Replies
View Related
im setting up a database email for my job and i still need a little help. Thx for those who helped me out for past touble...
Well, im now at the step of email deletion from the list and im using a simple script for that (cuz im new to programming).
After the customer received the email, i want him to be able to unsubscribe to my newsletter with a click on a link which lead to a delemail.asp page where the script is. Code:
View Replies
View Related
how can i find the ip address of a client?
View Replies
View Related
I have a page which allows the user to open one of several spreadsheets by
streaming the XLS to the client.
On my development site, everything appears to work fine. On the live site,
it works fine for the vast majority of users, but not for my colleague & I.
When this page is called with the correct inputs, the standard
Open/Save/Cancel/More Info dialog should appear. In the dialog, it gives the
following details:
Filename: Gothenburg Sweden.xls
File type: Microsoft Excel Spreadsheet
From: Servername
Clicking on open, means that the file will be opened in the local copy of
Excel; this works for most people, except one colleague and myself. In our
case, after clicking on Open, we get the following error msg:
"Internet Explorer cannot open travel.asp?journey=1 from <servername>
Internet Explorer was not able to open this internet site. The requested
site is either unavailable or cannot be found. Please try again later."
Anybody got any ideas about this? Code:
View Replies
View Related
I want to validate client entries into textbox,checkbox
controls etc. can u do this with asp. Like, is there
onchange and onclick and so on for these controls?
View Replies
View Related
I'm currently working on an Intranet for one of our clients. I'm developing a user directory for them using a SQL Server database.
My client has provided me with the information to connect to the server remotely via windows remote desktop connection. I would like to know how I go about getting Dreamweaver to connect to the database?
Will I have to create a database locally and then publish the local database onto their server or, can I create the database on their server and using DW to connect to it?
View Replies
View Related
This has happened before and it was due the connection string not being set
in VB. My question is, when I try to reconnect can I use a different
connection string on the client than I have on the server, I wonder because
not all my connection strings are not equal.
Some of my database paths are in Access and the rest are in SQL. That means I have to retry several times before a scrip timeout occurs. If you have read this far then you are an idiot, but the rest of the database seems to work just fine. In fact I can
pull all fields out with no problem. It is just that connection string that
has resulted in causing my pages not to post.
View Replies
View Related
I have created one ActiveX DLL in VB that has one public function
("GetClientCPUID") which will return a string of the CPUID. I want to use
this to get the clients CPUID and retuern to webserver. I am new to using
activeX in client side.
In Asp how can I send this ActiveX to client browser? (I will instruct my
users to allow this activeX). Is there a way I will execute this activeX in
clients PC and get the return value and return to the server for my
processing? Please suggest the ways that I can do this.
Also suggest what are the situations that I should know before I proceed. I
think there will might a issue when I upgrade the activeX and the client
those are using the current one may face problem so I think I will need a
way to uninstall the register the new one. Code:
View Replies
View Related
how to get client IP address in asp i know there a variable that can get user IP address but which i forgot already, anyone here can tell me
View Replies
View Related
I want to add clinet side javascript on the asp:dropdownlist's onchecked changed event how i do this does any one have any idea.i use the following method in vb.net code behind file
dropdownlist1.Attribuets.add("onCheckedChanged","javascript:aa()")
and see that when i change the option in the list the javascript method aa not fired.
View Replies
View Related
I have my asp pages stored in my server ,but when i try and call the asp pages in the clinet side it does not show a portion of the page,the same thing if i call from the server it shows me.
View Replies
View Related
I have a page which allows the user to open one of several spreadsheets by streaming the XLS to the client.
View Replies
View Related
I am trying to get the IP address of the Client machine and using the code:
Response.Write(Request.ServerVariables("REMOTE_ADDR"))
But I only get 127.0.0.1
It should be giving the IP address of the system or the gateway. How can I get that.
View Replies
View Related
Is there a way to get the clients computername through ASP??
View Replies
View Related
I know ASP isn't the best way to do this, but is it possible?
I've written an application in ASP that manipulates an MS SQL database. We'd like to have our application automatically backup the database at specific times. We'd also like to generate an email report once a day on the statics of our database.
Is this possible with ASP? How else could it be done, considering our application is all HTML/ASP?
View Replies
View Related
I'd like to have two radio buttons, and the first one will be selected by default when the page loads. When it is selected, the two checkboxes below the second radio button should be invisible.
The only way to see the two checkboxes is when the second radio button is selected. If you select it and then go back to the first radio button, those checkboxes should disappear again.what should i do?
View Replies
View Related
I need to know if, and how, it is possible to use ASP to download a file automatically from the web server to the client in a given path. Is that possible ? Ideally I want a page with a link that when pressed it will copy a certain file that exists on the web server down to the client.
View Replies
View Related
I have some questions:
1.what's the cons in using access 2003 with client/server apps?I know for starters that it crashes when traffic is big and that u have to repair and compress it every now and then. what do u think?
2.and also,should I write and execute my sql sentences in the asp page itself or use wsc for that?
3.what are the benefits of using xml besides xmlhttp and using it to retrieve info from other sites?I have heard that u can present your own data easier with it.
View Replies
View Related
Is it possible using mailto: to create an email with everything except an attachment
and then when a user clicks on send intercept that form and recreate the email on the server and add a file to it?
View Replies
View Related
We want to create an Intranet page for our customers. which provides a variety of information. But we also want to be able to allow users to access applications on that PC by clicking a link on the page (ex. link: WRITE A LETTER - opens MS Word). All PC's are imaged the same way so the applications are always in the same location.
I'm sure this is a violation of MS security inherent in IE, IIS, or in Windows XP alone. Can someone offer an advice - as to (1) is this possible using an Intranet page; or (2) is there a development environment that it would be possible in?
View Replies
View Related
I have a need to transfer a graphic file to a user's system and then
access that file. I must have the drive letter:path location of the
file. If at all possible I'd prefer that this not require user input.
(Note that since this is my app and in a corporate network, I have the
server in the Trusted Sites zone and every single action is marked
"Enabled" in the IE security settings and users will be using IE
exclusively.)
It doesn't matter to me how the file gets to the
client, save that it get there from IE, and the file is initially
retrieved via a url I give the client. I have even looked into
reading the file out of the IE temporary files but have had no luck.
View Replies
View Related
I know this is actually impossible, but didn't know how else to describe it:
I have created a Content Management System for a client using ASP connecting
to a Access database. It doesn't do any fancy things: INSERT, UPDATE, etc. I
also use ASPUpload to upload images onto the server.
When I test my CMS from my own machine and others, it all works fine.
However, testing it from my client's machine, the Updating or Inserting of
data ends up returning a 'page not available' error (the asp page calls
itself when the form is submitted) and the changes to the database are not
being executed.
I really can't figure out why this is happening. Could it be a setting on
the client's browser?
View Replies
View Related