I have a web site where I use cookies to navigate between
the pages. The cookie is his id no which is nothing but
his staff id no. All most all pages are dynamic and
connected to sql server 2000 through ADOs. My problem is :
if any one logs in and enter bowse the pages and goes back
uses other log in his old page is displaced rather than
new one, untill he explicity uses the refresh button. Once
he does that , it is working. Iam using javascript menus
to navigate between pages.Previously when menus are not
there pages were working fine.
I wrote 2 ASP pages that communicate with JavaScript objects. page1.asp and page2.asp are put in separate servers in separated machines. If I put in single machine, it is fine. Now it has Runtime error: 'params.test' is null or not an object. Any ideas?? Code:
I have an online application made up of ASP pages (IIS 5.0 on Windows 2000 Server) drawing data from a SQL Server database. Most of the time, everything works exactly as it should. Connections are opened to the database, queries are run and data is returned and writen out, connections are closed, etc.
However, every so often a page simply won't load. It isn't trying to load and then timing out or anything, it's like it's ignoring the page entirely. It shows the correct URL in the address bar of IE, but there's nothing but a blank white page displayed. Viewing the source of the blank page reveals that instead of the correct code for the page, we get this: Code:
We are currently facing a strange problem. We wrote an ASP application using some sessions and database-connectivity, nothing special.
On some machines (we are all using IE5.5 / IE6) those applications produce a 404 error.
The pages that are called do exist (I checked it thousands of times and it is only happens on some machines). Most of the machines have no problem with that pages and do not produce any errors which makes me belive that it is no real programmed problem.
The strange thing is that a reinstallation of IE mostly helped and if not we reinstalled the complete computer (as you can guess this is no real suitable way.
Maybe it has something to do with the sessions we use, but they are not so big.
I hope (not for the one who really has) that somebody has also experienced this kind of problem and can point me into the right direction.
I also tried different IE newsgroups but they had no idea, that's why I now try to ask ASP-programmers.
BUT the comand COMSPEC disapeared of all my machines which we have ms-windows 2000 installed!So now no-one machine can continue run my routines which accessed ms-dos by ASP. COULD anybody send me the comspec command by e-mail whith the subject: Comspec to WScript.Shell.
I'm trying to write an ASP interface that mimiks a .Net datagrid control. I'm having a problem when I'm in the middle of an Edit, Update, or a New Record.
If the user hits the wrong button, the program grabs the values in the textboxes using the request.form() and then redisplays them in the textboxes when the records table gets written back out to the page. This works fine as long as the form is submitted.
If it's just a page refresh (F5), the program doesn't get the latest changes to the textboxes and displays either a blank or whatever was in there the last time the form was submitted. Anybody got any ideas?
First I would question why you want to do this. If they get to the page by any means it should respond appropriately, whether refresh or by link. This is a stateless environment after all.
That being said...
I would take the approach of setting a session variable that gets set the first time they hit the page:
<% if session("NotTheFirstTime") = "" then 'write the onload session("NotTheFirstTime") = true end if %>
then based on that variable write or don't write the onload.
Of course, if the user can access the page from multiple links and the onload is valid for each link, regardless of how many times they hit the page, this won't work....
we're running IIS 5 and trying to do a simple update to a code behind file (Login.aspx.vb) we copy the file over to the server, but we're not seeing the updates. the server is still reporting errors on line numbers in the file that no longer exist. we've even stopped / restarted the service, with no luck.
i've created a simple web app that allows users to enter in information about a project in a web form and save that information to a database (Access). After a user enters in all the information, she can click on a link to go to an index.asp page that displays all the projects that have been added.
the problem i'm having occurs after the user enters in all their project information. when the user goes to the index page, the index page is suppposed to retrieve all records and display them, but it doesn't.
even after hitting the Refresh button in the browser, it won't display the latest project that the user just entered. however, if i add a second project and then go back to the index page, it will work fine and display both the first and second projects. so, it's like the first project won't be displayed until i enter in another project after it (like the first project is stuck). does anyone know what the problem may be?
Using IIS 5.0 and sometime some asp pages (absolutely randomly) showing as blank white pages. So far only one way of fixing it - restart whole server. Restarting IIS, or specific web server not helping, only whole server.
I enable server side and client side debugging, but no errors showing up...
In view source pages always look like this: ----------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=windows-1251"></HEAD> <BODY></BODY></HTML> -----------------------
is it possible to create pages using other pages. Here is an example... Can I make a page that has a menu on it, but the menu is actually a seperate page that I call with ASP?
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
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.
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:
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."
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?
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?
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.
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:
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
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.