This problem occurs in classic ASP on a simple asp page I am writing.I am trying to output a random number using VBScript's Rnd() function.Whenever I refresh my browser, the same number appears(0.7055475).This happens in both Internet Explorer and Firefox. This is all I'm doing:
<%Response.Write(Rnd)%>
I have pressed F5 to refresh, cleared both browser caches,and even restarted IIS.I was under the impression that a psuedo-random number would at least change values when I refreshed my browser.Does anyone know what the deal is with Rnd() not producing different numbers?
I'm coding a shopping cart in asp. I store all info about ordered items, customer's coordonates, etc. into cookies. When the order is complete I use "CDONTS.NewMail" to send an order confirmation's email, where all items and details are listed for the customer. As to retreive all these info a code reads all info stored in the cookies. If a run my code under Firefox and Konqeror , all works well and the sent email contains all info.
So, I wrote a code to read all cookies on the page before opening the page that generates the email to the customer, then when tested, all the cookies and session variables can be read. Under i.e.,if the same code is run in the page generating the email, it returns empty session variables and some cookies are missing or are now empty or can't be read!If it is tested under Firefox and Konqeror all cookies and session variable are stil there.
The Gecko based browsers change this URL to read "Validation BookingNo=1234567" and of course they get a 404 Error as a result. The above code works on every other browser without fault. So why do Gecko based browsers have a problem. Is Gecko just nother work for this software.
And then use their second example the clientcap.htm and clientcap.asp section. Then fire up clientcap.asp and watch the Microsoft Internet Explorer browsers crash.
we are using internet explorer 6, reading information from w2k iis asp. users are opening two browsers so they can keep two sessions open with different information. It is rare, but sometimes the the non-active browser will use the session varibles from the active one. We have deleted local content and cookies with no affect. any thoughts?
I use the following code which simulates the browsers' back button. window.history.back(), but whenever i use this , i get a "404 page not found error . is this related to browser settings?
<A HREF = http://MyServer/MyDoc.doc> Click here to see the document</A>
When I click on the link How Internet Explorer understand that it's a Word Document and It's necessary open it with Microsoft Word ? Is The extension to give the necessary information to Internet Explorer ? Where does IE look for the application to use to open the file on the server ? On the local registry ?
I have tried to rename Mydoc.doc in MyDoc.pdf and I have called
http://MyServer/MyDoc.pdf and the browser has opened Acrobat Reader but the binary format is for Microsoft Word.
Does the Browser User an Http_Header sended automatically ? (for example HTTP_FILE_NAME....IF IT EXISTS)
2)Now I have the following link:
http://MyServer/ReturnMyDoc.asp
It returns the binary data of MyDoc.doc file. Now I want to say to the browser that the file is called MyDoc.doc (I don't want to use Content Type = ms-application/msword) : is there a header to say this to Internet Explorer ?
I have just installed PWS on my Win98 SE machine. Even though i change my internet connections to "Never dial a connection" it still tries to connect when i try to view my asp pages.
Presumably there is some simple option i need to change which will allow me to run my scripts without connecting to the internet.
I am developing an ASP.Net application where I need to direct a rendered print job to a print device (private) situated behind a router with a firewall enabled. I hope that I can explain this properly, the details are as follows...
PC with internal IP address of 192.168.10.1 Print device with the internal IP address of 192.168.10.2
PC sends a request to my remote ASP.Net web site for a print job (report) to be sent back to the internal networks local printer. Is this possible to redirect the output to the print device rather than the internal client that made the request. code:
Issue: whenever I try to get online, a window pops up on the screen and gives a message, "the webpage you are requesting is not available offline. To connect, click connect tab".
And later I can get online, or sometimes it never let me to connect to internet. I'm fed up with this problem. I tried doing many steps to block this message. Nonetheless, I always see this pop up. Steps which I performed: 1. uninstalled the network drivers & restarted the computer.
we need to send about 300 pdf files via an internet fax per day. does anybody know of a good hosting outfit or know of a software package we can install on our own servers to do this?
I'm dowing a web site on my intranet in a ASP page I have to made save option, on the intranet everything is working fine, but when I upload my website in the internet I have this message:
The page cannot be displayed There is a problem with the page you are trying to reach and it cannot be displayed.
What is the probleme my page is in ASP and on intranet it's working fine.
How can I programmatically in ASP detect the difference between being on an Intranet (ie no outside www access) and the Internet (where can can get www access) ?
I have a program, which has a registration module being built. The module automatically skips across a couple of servers and checks the registration codes, and skips back to the program and informs it the registration code is authentic;
the program there after continues as normal; one of my users wants to install the program on an intranet in their office - I have no problems with that except the registration system will keep stalling and requesting a valid user registration code:
When one of my users are navigating my ASP website, and click on submit type button to move from Page1.asp to another ASP page, Page2.asp, they are getting message like
"Internet explorer cannot download <asp page> from <server>. Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later."
Is the developement process of intranet & internet application is the same....Can the internet application that I build using asp be used in a intranet enviroment....
I would like to test ASP websites and therefore I neet the Internet Information Service feature from Win XP. The problem is that I have Win XP Home Edition. Is there any way to upgrade this feature called Internet Information Service to my Win XP Home Edition system?
I thought there might be a file to find at the windows download page but I just found Internet Information Service security patches. Is there any file that installs this feature called Internet Information Service (IIS).
I would like to install the Internet Information Service to my Windows XP Home Edition System. I tried it before and I realized that this is a special feature of Win XP Professional.
Maybe cou could tell me how to install this and run it on my Win XP Home Editon to write ASP sites. I thought of downloading the right file at windows download site but I cannot find it. There are a lot of security updates but not the setup file. Is there any other way to install it on my system or make it work?
I have an ASP application that has been running fine for years. I can access the application from my laptop via the Internet without problem. I brought my laptop into the office today and plugged it into the intranet. I did not join the computer to the domain.
From inside the office I cannot run my application. I can bring up the login page and try and login, but it appear to have no session variable on the redirected page during login. I tried to set the cookies secruity to allow all, still no good.
I'd like to check if the user accessing my site is from the internet or from the intranet, based on which I display different messages in a page. I propose to check the REMOTE_ADDR server variable to determine the user.
But I'm not sure if checking if the REMOTE_ADDR = 127.x.x.x or 10.x.x.x would suffice. Thus if the first hex part of the ip address is 10 then he's from a lan, or if t's 127, it's the local machine. Otherwise he's from internet. Would this be a foolproof way of determining where the user is from? Just forgot my TCP/IP lessons .
How can I detect what browser type my users are using, currently with my asp server variables I only detect Netscape and Mozilla as U, how can I get specific information without having to use software that you must pay for?
I would like to test ASP websites and therefore I neet the Internet Information Service feature from Win XP. The problem is that I have Win XP Home Edition. Is there any way to upgrade this feature called Internet Information Service to my Win XP Home Edition system?
I thought there might be a file to find at the windows download page but I just found Internet Information Service security patches. Is there any file that installs this feature called Internet Information Service (IIS).
i am trying to add iss (internet information server).i have found a web site to access iss on xp home addition and i went to view the options of the control panel/windows components.its there but it cannot be clicked on and installed.
i am looking for to block INTERNET EXPLORER to doing its activity.how can i stop IE not to use back button OR like this way if someone want to go back from the certain page. can we show the any other IE generated messages.like page cannot be displayed etc
my basic requirement is not let the user to see his last page which he had submitted can it be done?
For some reason I've installed IIS but have no Internet Services Manager available for doing things like changing the namd of the "default" page etc. I've gone through the Add/Remove Programs -> Add/Remove Windows Components and I'm getting nowhere I cannot find this snap-in and it doesnt occur with the IIS install.
I've used this before at work but have been completely unable to install Internet Services Manager on my local machine.
I am looking for a way to use the IE objects in VB/ASP to download files when prompted from webpages. Specifically just one page. It's an aspx page that generates a csv file for d-load. As soon as I go to the page it immediately prompts me to save, save as, or cancel.
Ultimately, I will build this as a DTS package in MSSQL Svr to grab the file and save it as a .txt file and not a .csv file, so I would need to utilize the save as function of that pop-up box.
I am writing an ASP application for Internet Explorer in the UK. I have found that some of the computers on our intranet at work display dates in Internet Explorer in English format, and some in American. However, when I look in Control Panel at the regional date settings, they are all set to English date. But IE still shows the date as American.
What is more mystifiying is that the dates in my Access database are saved correctly in the English format. It is as if Access can interpret the dates correctly when saving and retrieving, but IE and ASP cannot when performing calculations or displaying on the screen. There surely must be a way of telling IE to follow the computer regional settings when it stores dates in memory?
I developed a web site that uses javascript and XMLHTTP to dynamically load info on the page from the server without having to re-load the page. Recently I've received complaints of it not working, and the common thread is that these users have Norton Internet Security installed (sorry, don't know the version, but let's assume the latest).
I don't have NIS. Can anyone give me clear instructions as to how a user can change his/her NIS settings so that a certain site may be trusted or so that users can use sites that utilize the XMLHTTP object? Even when they shut off NIS, it still won't allow access until they actually set it for manual start-up and then restart their computer.
I want my clients to be able to print straight to some of our printers over the internet. The reason: 1) So I don't have to purchase all the applications they have, simply to print their data. & 2) So they can have access the printer drivers options.
Sharing a printer on the internet isn't wise, which is why I thought of doing it via a website. And a few factors came into mind:
1) will the data be secure? maybe encrypted even? 2) who will be able to print to it? 3) can a client only print, once his deposit payment has gone through the payment system?
Has anyone been able to make such a project work? I tried Google, and most of the stuff refers to the HP internet-print print server, which won't work in our scenario, since we have printers that work on LPR, their controllers are OS/2, and the supplier won't change it just for one company.