Does anyone know of any ASP code that would redirect a page that has a small page width....such as a mobile phone, Blackberry, Sidekick, etc to another page designed for the width.
I have one with Java script but many of these devices don't handle Java too well.
I have some ASP.NET code which works fine on IE, but on Mozilla Firefox it completely ignores the width attribute and puts the images out at their full size.
i have created asp pages and inserted the table which width is 100% percent but when and visit that page the width of page is less then 100% but if i refresh the same page then is shows 100%.i have included one file as header. it is because of that or what.
i am using visual studio 03 to create a web app using asp.net 1.1 i created a table in a text box using System.Web.UI.WebControls.Table
i am adding data to it... i want to knwo how i can set the width of colums. i hve 2 columns and one of them is way to the left.. i hve fiddled around with the html and the tablename.blah.blah stuff but i dont know which one to use
I m using front page. I have used some button and value of all button is different so its width show different. I want to equal width of all buttons. I dont want to use link button.
I m using front page. I have used some button and value of all button is different so its width show different. I want to equal width of all buttons. I dont want to use link button.
The most pressing issue at the moment is that my browser does not display the page; it displays the ASP code. I built the page for a questionnaire that was going to be placed on my schools server so that participants could access it online, but I submitted my request too late in the semester.
I decided that the best course of action was to collect these data offline using the computers that I had bought for my lab. The laptops are running Windows 2000 Professional and are using IIS. After configuring ISS and Dreamweaver MX, I built the questionnaire. Then, I uploaded the questionnaire to the “server”—the wwwroot folder.
Now, the index page (the instructions to the questionnaire) opens flawlessly, but when the link to the questionnaire is pressed to open the ASP page, the browser displays the code and not the questionnaire itself.
When I explained this problem to people, they tell me that my server does not support server site scripting, but I’m using a Windows machine, using Windows server software, and Windows database software (Access 2000). Moreover, when I preview the page through Dreamweaver MX, Internet Explorer displays it without a problem. Code:
I created my .asp page in Microsoft Visual Studio .NET 2003 and when I right-click my page in there it displays perfectly. But when I try to view it in internet explorer I only get the html part to display.
I've tried regestering iis in the cmd, it didnt solve it. Here is the code if it could be to any interest:
I have three asp pages. The initial page is login.asp, it goes to page hello.asp. And hello.asp goes to page another.asp. If it goes back from hello.asp to login.asp, then in Internet Explorer, clicking on Back, the cache of the page hello.asp has been removed, which is the effect that I want.
If it goes back from another.asp to login.asp, and then in Internet Explorer, clicking on Back, the page another.asp still remains. Code:
I have three asp pages. The initial page is login.asp, it goes to page hello.asp. And hello.asp goes to page another.asp.
If it goes back from hello.asp to login.asp, then in Internet Explorer, clicking on Back, the cache of the page hello.asp has been removed, which is the effect that I want. If it goes back from another.asp to login.asp, and then in Internet Explorer, clicking on Back, the page another.asp still remains. Code:
how to make asp pages that could let people to upload files. I use Macromedia Dreamweaver and there is a form for file field, but it doesn't has any help function on how to do it.
I have an ASP page, whisch generates dynamic report for a SQL server DB. Now the users want to have the content in PDF format (not HTML page). The server machine had "adobe acrobat destiller" installed.
How can I print the content of this ASP page to acrobat PDF destiller and send PDF file to browser?
One of the features on my site is to allow my customers to upload photos and text files. The script does not come with any instructions to allow the page to redirect to a Thank You page. How can I accomplish this?
The second question is how can I email the images or the text to my email after the images have been uploaded to a specific folder on the server? Code:
From my asp page, I insert a row into a database. Once the row is inserted, its value for the 'status' column of the table is automatically entered as 'in progress'. This table is then updated by another script (out of my control). This script changes the 'status' value to 'processed' once it has copied the row to another table. The script runs every 5-30 seconds I've been told. What I want to do is give the user a 'processing data' kind of message until the value of the 'status' column has changed to 'processed', for the data the user has entered. I'm not sure how to poll the database every so often to check for the 'processed' string. Then, once it has changed to 'processed', just give a message to the user.
i've used flash to set up a menu on a website, but have since lost the work in progress flash file, and my menu points to the wrong link on one of the buttons.
is there a way through asp i can redirect to the *right* link when this button is pressed. (i.e. instead of going to default.htm it will go to index.php)?if there is it seems a lot easier than having to recreate my flash file
I am trying to deal with session. In sites that I see, when my session timesout, I am usually taken to another page right away or taken to another page when I click on a link or something.
Now, I managed to get the timeout part, but my page is not being redirected anywhere even when I click on a link. I tried using Response.Redirect("timeout.asp") in Session_onEnd, but I don't think it is working.
I am having an issue with Mac IE users that come to an asp page on my site. The page does a response.redirect to a PDF page. the PDF is downloaded onto the desktop and saved as the name of the ASP page. The PDF is then displayed in a separate window.
If I maunally type the URL to the PDF then everything works like it should. The PDF is displayed inside the browser window and the downloaded file is the correct name. I would appreciate any insight into . how to fix this.
i have a page that after pressing a link it goes to this page is only really used to perform calculatiosnn etc. and has one word like "you have been successful, you will now be redirected to"
at the moment it goes to fast and i have put a link on the pae so the person nows it worked and then needs to press the link to move on. is there away that i can put a delay into the html so that it displays the sentence for about 5 sec ect then redirects rater than have them press a link.
how to force users from a common asp page to the registration page. Example:
Joe blow goes to abc.asp and has a look around. He never registers because there is nothing saying he should register before browsing. I want to force joe blow to register before browsing some pages.
What would an If statement look like in that case? On what object do you perform the check?
I know how to use a redirect statement, I don't know how to perform a check for prior registration or login. I would imagine the check should be the first call of the page?
I am trying to do the similar to mod rewrite and use the custom 404 rewrite page to handle the table look up, so www.myweb.com/irish-tapestry-333.html will redirect to
www.myweb.com?id=333 for the detail pages. Will google see this forwarding in the 404 redirect page and ignore the links?Also, how can I make the URL of www.myweb.com/irish-tapestry-333.html appear in the users url window instead of the www.myweb.com?id=333
I've never used ASP before and I'm sure the answers are in here, so I'm expecting to have rotten tomatoes thrown at me... Sorry, this is the only ASP page I ever hope to write...
I have a page called intranet.asp All it needs to do is look at the remote_addr variable and depending on what it sees redirect to one of two places.
The logic is as follows, and if this were PHP or Cold Fusion, I would be able to do it.
IF (remote_addr == "192.168.xxx.xxx") { redirect to www.internal_address.com } else { redirect to www.external_address.com }
The xxx's in 192.168.xxx.xxx mean that it can be any address inside the 192.168 tree.
I have a few pages that require login to access. Assuming a user clicks a link containing a variable trying to access a password protected page. That user is redirected to the login page. After login, he's brought to a "logged in" page. How do I retain the original link he clicked and instead of redirecting to a logged in page, he's redirected to the page he originally requested?
I have a ASP page that triggers a db-side stored procedure.At the end of the procedure, it spits out a log file, that this ASP page reads and displays for the users.
But the problem is that the database-stored Proc could take anything between 10 secs - to - 10 mins. I dont want the page to time out [But I dont want to increase the time out in the IIS webserver]. Is there a way, like the airlines websites do, where I can just show an animated gif while the procedure runs and redirect the page to results at the end of the procedure run.
ex: like orbitz or hotwire.... or anything like that, but not as complicated as them.