I'm editing existing code, where the user selects an item on Page1.asp and clicks submit. Page1 then calls Page2.asp which subsequently runs a query to validate the data selected (passed) from Page1.
If it is duplicate data, a Javascript alert box is invoked, once the user the clicks "ok" on the alert Javascript attempts to redirect back to Page1 (so the user can reselect) but this process is halted by the browser ("The page you requested was created using information you submitted in a form. blah blah blah, To resubmit your information and view this Web page, click the Refresh button. ).
i have written a form which submits queries to a DB through ODBC.i then pass the results to another form which displays the recordset from the db.furthermore, i would now like to be able to resubmit the previous page again but with the new value from what the user clicked.
the recordsets use a 'Ahref' tag which contain the value of the record been displayed and i would like to pass this value into next page to retrieve based on that new value and re-display using the 'result page' again.
I have to put some terms and conditions on my commercial site which vendors have to accept before going into site. My query is in practice how you people do it? I mean do you store these information in database ,or do you keep time stamping in database,or just force users to read and accept it without saving . I know it varies company to company ,i asked generally.
is there a way to resubmit the same query to mysql based on a value from the previous query from ASP code. are there any examples i could use somewhere?
i have a table in which i have many text boxes, they are named as a1,a2,a3,a4 to a16 the next row is b1,b2,b3 to b16 and so on up to G1,G2 etc, where the user enters his data, what i want to do is only allow the user to enter numbers, which can have decimals if required,
how can this be done, also i have another set of textboxes through which i want to loop and prevent user the user from entering the same data in more then one box how can this be done any help will be appreciated thank you.these are the text boxes a1,b1,c1,d1,e1 etc which is actually the first column in the table.
I have a form and my first field is a drop down list where i ask my user to select the category of client he is. After he selects the category i want the form to reload and bring me the correct fields for the correct category. How can i do that?? i have searched the forum but i found nothing like it!!!
When I set a cookie in global.asa in the sub session_onstart, even if I have "privacy" in IE 6.X set to "block all cookies" the cookie is still set, and I can get it on other pages.
I can't find an article that addresses this as a specific issue. Why does the browser get the cookie when it is set in the session_onstart event even when I have "block all cookies" set?
I have a simple ms access database front ended with simple asp pages using ms front page. I used the wizards to put it all together and I can send data easily enough using forms. I can recall the data using the data base wizards but I can't seem to design it to update the data once it's been submited. I've played around using sql update statements and modifying pages... but I gave up in the end. how I can design an update page using ms front page??? It doesn't have to be fancy or complex... I'll work on making it pretty later.
I have a website with a default webpage having an image. I am also having four(4) images. I'd like when the user closes the browser and reopen it, it must load a new image.
e.g. The User open the browser for the first time - Loads Image1. The User open the browser for the second time - Loads Image2. The User open the browser for the third time - Loads Image3. The User open the browser for the fourth time - Loads Image4.
The User open the browser for the first time - Loads Image1.
I know I can do this using JS but can I do it using Vbscript? I want to check if a browser is NS4 or lower and if so to display a certain stylesheet. If another other browser then display an alternative (more feature rich) stylesheet
in ASP Application can we get the application page by entering a single word in browser? more clearly. see i have my application in www root. called "test" folder.
now if i am entering only "test" in internet explorer browser, how can it will take fist page of my application. my first page of appliation is "login.asp" from test folder? please tell me how to implement it in ASP?send me the code.
How can I get text to remain on the Browser's statusbar? For example, if I'm saving data to a DB Table after a user clicks a Button in the ASP page, I want the statusbar to show something like "Save Successful" or "Save Failed" so they know something happened.
Right now, I'm trying to use the windows.status property, but it just flashes real quickly in the statusbar and then "Done" is displayed.
I have just uploaded my website and it looks fine in IE, but awful in Mozilla. I need to load a different CSS file according to what browser a user has. Does anyone have any code that will detect browsers and versions?
anyone knows a VBScript that acts as a webbrowser? I am behind a firewall and my local machine is not visible to the internet, but I have a access to some webspace with asp VBScript. With the right script I could tunnel pages and sites from my local machine
Does anyone know how can I get Visual Studio to show a classview-like function browser for my asp files? (For VBScript functions.) It would be enough if it showed the functions in the asp file I'm working on, even better if it showed all the functions in all the .asp and .inc files in a project.
I'm designing a small web application which is a table displaying live data which updates every minute or so. This app is very small and will stay open on a client PC's pretty much all day. So I was wondering if it is possible to display it in a browser , without the IE toolbars, just like a fixed dialog.
We are trying to record browser information when a customer comes to our site. I have been able to get most basic browser information using both asp and asp.net. The only thing I’m missing is the ability to detect plug-ins. Does anyone know how I can access the plug-in collection in IE? I have not found any clear way of doing it on the internet I’m starting to think I am headed down the wrong path. Maybe IE doesn‘t call it a plug-in collection?
I have a dynamic website system that my clients use to change their webpage conten online. Sometimes the new change isn't visible right away to a browser. I have the following in every webpage's <HEAD> section:
<META HTTP-EQUIV="EXPIRES" CONTENT="0">
which on previous investigation was supposed to be a solution for this. All I want is a definitive solution so that when a browser makes a call to my server for one of my pages, everything along the line that has a cached copy of the page is going to say "Aha! The browser wants the latest version of this page! I'm going to pass this request up the line to see if their is a more recent version instead of sending it my cached copy". (Yup, that is how browsers and ISPs speak to each other). What do I have to do to my webpages to ensure this happens? At the same time, I don't want it to be getting the page all the way from the server if the page content hasn't changed. In other words, I just want the cacheing to work properly!
Sorry if this isn't an explicit ASP question but no one in the HTML groups I've tried has any idea what I'm talking about and I'm hoping that those who frequent this room will have a better handle on the whole client/server/caching problem and the solution!
I have heard there is something called a 'virtual browser' which allows me to check asp and html output on the complete range of browsers without having to download each browser and version (side by side).I did a google search and see a variety of links but nothing conclusive. Is there a standard product experienced asp developers are using.can you point me towards it?What are the limitations and challenges in using this product?
My code works in IE but not in Netscape. Can someone let me know what should be done in order to view the javascript function also in Netscape. Thanks. Script:
Quote: <script language="javascript"> function showurl(v){ var layers = document.all.tags("DIV"); layers['show'].style.visibility=v; } </script> Form:
Anyone ever experience problems with Apples Safari Browser and ASP scripts? I have a user who keeps sending us feedback stating that Safari does not work on our site, but his Internet Explorer works just fine. He kept getting this error:
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'CLng'
Now the code works perfect in all other browsers. I'm curious why Safari isn't working with ASP. Since all of the code is processed on the server, it seems odd that the browser would have specific issues with code. I'm not looking for help with code, just any input on whether any one has experienced problems viewing ASP scripts using Safari browser.
I have created a repository for training and reference files. The management would like to see reports regarding who is using what files. To do that I am sending the user to a page (OpenDocument.asp) with the URL in the querystring (?URL=blabla.asp). A database is then opened so the rep is logged and then they are redirected to the URL in the querystring.
The problem- When the browser redirects through a querystring it substitutes / with %5C. Once that happens the relative links we have created for the images do not appear because they are looking for the last /.
I am part of a group that has developed an ASP.Net web application. I'm presently trying to test some code I wrote that checks for IE browser at session start (and issue warning if not IE), but I can't seem to "get out the starting blocks" with any non-IE browser: I've tried Netscape 4.8, Netscape 7.0, and Opera 7.5. I've gotten a few different errors, but most often I get the following when attemting to access the startup page:
HTTP 401.2 - Unauthorized: Logon failed due to server configuration Internet Information Services
Anybody know how to get another browser to work? Only my old Netscape 4.8 pops up a login dialogue, but I can't get that to log in correctly.
I’m building a intranet site and want to: 1)associate an desktop icon to a browser instance, i e, that icon opens the browser for, and only for the intranet site. 2) Once in there, unable the navigation activities, i e, unable the capability to get out of that intranet with that browser instance. 3)When called from the usual way guarantee the browser normal functionality.
I currently use a javascript routine to check what browser the user is using, but I'm trying to replace my client side code for server side as much as I can.
Does anybody have a good (and tight) routine to check what the browser is,eg IE, Netscape, FireFox, Safari, etc?
Does anyone know of a newsgroup or reference where I can determine why certain elements render differently between say, Internet Explorer and Mozilla? Our site has some of the worst HTML I've ever seen and some of it renders terribly. I think I'm finally through repairing all of the "IE Only" CSS tags.
Another problem I'm having is that when I use JavaScript to hide/show a row in a table, it works fine in IE but colspan formatting seems to be lost on Mozilla/Firefox in this scenario. Anyway, I'm really just looking for a decent newsgroup for HTML related problems.
if browser is NN 6 or higher - continue with page load. if browser is NN4X or lower -redirect to new page. if browser is IE 5 or higher - continue with page load. if browser is IE4X or lower -redirect to new page. anything else-continue with page load.
i ve tried a few existing scripts for asp and a couple for jscript.can any one tell the right way?