Recordset Being Displayed Isn't Refreshed

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?

View Replies


ADVERTISEMENT

My Link Isnt Coming Our Right

I want the link to come out as

search_results.asp?s1=Issue&s1t=Cancelled

but instead its coming out as

search_results.asp?s1= &s1t=Cancelled

I can't figure out why all of a sudden my variable s1 doesnt have a value once I hit the submit button. Here's my long extensive code. The important bits are the part where I response.write the s1 and s2 and s3 values, they show up on the first page but when I hit the submit button for some reason, they have no value anymore.

View Replies View Related

Page Being Refreshed

How do i stop a page being refreshed and running my asp scripts again and again

View Replies View Related

ASP Pages Blank Until Refreshed

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:

View Replies View Related

How Do You Detect When A Page Has Only Been Refreshed?

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?

View Replies View Related

Determine If Page Refreshed

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....

View Replies View Related

Code Behind File Not Being Refreshed

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.

View Replies View Related

Pages Are Not Refreshed On Client Machines

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.

View Replies View Related

Cannot Be Displayed

I am moving from a Windows 2000 Web Server to a Windows 2003 Server.I have converted all of my old CDONTS to CDOSYS with no problems. However,I am having major problems with getting my asp pages that have both MySQL and CDOSYS
on them to work.I get the following error:HTTP 500 Internal Server error
There is a problem with the page you are trying to reach and it cannot be displayed

View Replies View Related

Ntext Cannot Be Displayed

Because I needed to store more than 4,000 characters, I decided to convert one field in SQL Server Database from nvarchar to ntext...now the field holds many more characters without a problem as I examined in my online manager.

But when I tried to display it on my asp page with
Code:

<%=rs("Text")%>

, nothing showed up, and there is no error message. It cannot be null because i checked in the manager...

View Replies View Related

Page Cannot Be Displayed In ASP

I'm using classic ASP. I made a change to a page and I got a Page Cannot Be Displayed error. I changed the code back and now I get the same thing. Other pages can run and access the db server.

I tried taking out includes and bypassing some code. I've also checked both the Application and Event logs on the server and there doesn't seem to be anything obvious there. I'm not using any components. Can anybody give me an idea as to the types of
things that cause this problem?

View Replies View Related

Be Displayed Error

I've got an asp page that allows users to input quantities of certain items. When they click the "Total" button, the page is submitted to itself and a total for their selected items is displayed, similar to any online shopping cart.

When all items have been selected, the form is submitted, and their taken to the next page. If they choose the browser's "Back" button, or a "Cancel" button on the asp page, they get the Page Cannot Be Displayed Error. However, if they never update the total, and instead enter all the quantities and then submit the form, withing submitting back to itself, the browser's "Back" button and the asp "Cancel" button work fine.

It appears the back button doesn't work when the previous page has been submitted to itself. Does anyone have any suggestions? Is it a bug in my code or possibly an IIS issue?

View Replies View Related

Page Can't Displayed

I have a form from html called "rcf" and it suppose to get the data from users and send it to the database.but from my form to my add_rcf.asp page I get a "The " message.I uploaded the files.

View Replies View Related

Pages Cannot Be Displayed

I get this page cannot be displayed every time i try to run ASP pages on Win 2k Server IIS5.1 . I know that the guy who's server it is had run a couple of lock down tools after his server's security was compromised.

Could this be part of the reason why? I had a look at his configuration and .asp files were pointing to 404.dll? I changed it to the asp.dll in inetsrv directory but that didn't help as well as restarting IIS.

View Replies View Related

Page Cannot Be Displayed

i am tryint to access this ASP website, but it keeps giving me the msg PAGE CANNOT DISPLAY. when i send the url to my friend, it load for them just fine. can someone tell me if ther are any option i have to chang or any way of solving this problem?

View Replies View Related

Page Can Not Be Displayed

We have two websites:

1. On Internet
2. On INTRANET

Anyone with any internet account can access to the first site, but to enter to the 2nd, u need to have a special internet account (say, a certain supplier).

The general menu is on the Internet website, but one of the items in the sub-menu, links to a page On the INTRANET. If u r not authorized (=did not use the certain internet account), then u get the page "The page can not be displayed".

How do I redirect the "page can not be displayed" to the help page, and of course, redirect it ONLY when the "page can not be displayed" page is there b/c of linking from this sub-menu, or b/c of trying to reach directly to the Intranet certain URL that this sub menu links to.

View Replies View Related

Displayed Images Not Changing

I have a page that displays images. However, at times if I have changed the actual image but have kept the same name and src, the old image still displays when I run the page. I have cleared the files and cookies and sometines this helps but not always.

Is there something I can do to force a change?

View Replies View Related

Page Cannot Be Displayed Problem

I know this is a simple problem,what are all the causes of this problem? This occurs to only when I don't login to the web server.

View Replies View Related

Numbers Are Not Being Displayed Properly

I am unable to get this function to output the correct output. The Subtotal works fine, but the GST and TOTAL are not working properly. GST only shows the integer value and nothing after the decimal places. Code:

View Replies View Related

Code Displayed On Browser

I just installed IIS on my local system. Just wanted to check if asp was enabled too. but when i run the code on the browser it displays asp code. What am i missing out here?

View Replies View Related

Page Not Completely Displayed

I have a dynamically populated page, and for one of the records the page is not completely displayed. When I click view source, the code is complete but about half of the code isn't shown on the page.

View Replies View Related

25 Fields Displayed Horizontal

i have 25 fields on a form vertical display and i want them to be displayed horizontal. i want to support my idea of horizontal display to my manager the reason why i want horizontal display is because the user wont have to scroll down. so i need some articles from the web or technical articles which support my idea.

View Replies View Related

HTML From Database Not Displayed

I have done search on the board (and google too) to find a way to display properly my HTML code that are already inside the text in my database like < br > and < i > and so on. but when I see the result in my browser (using ASP) I see the HTML coding and not the result of the code.

I have found here in the Funky Functions in ASP thread probably something useful but I cant make it work (second post, the one made by aspapp).

View Replies View Related

Page Cannot Be Displayed Error

I had a problem which will cause the user to get an error page cannot be displayed. But this error only happened on one of my users, the rest are able to login to my site.

what might had caused the user to get "page cannot be displayed error"? Is that due to internet security settings? Or error with my code?

View Replies View Related

Dynamic Table Not Displayed

I have a dynamic table which is checking data from Access database and filling up the table appropriately. In my development environment of Windows 2000, the table displays properly but after hosting (that same source file), the table is not displayed. The error occurs at the following point:

Code:

<font face="Verdana" Size = "2"><td width="70px" height="25px" align="center" <%=colorBG(weekNr,dayLoop,intPeriodStart)%>
</font></td>

The host server is using windows 2003, what could be the problem?

View Replies View Related

Convert All Characters To ' * ' Where Password Is Displayed...

I have a field from my recordset called RS("Password").
If I wish to display each character as an asterix '*' how do I go
about it.

I've seen the replace function, but cannot work out how to do it for
how ever many characters there are in the record ?

View Replies View Related

HTTP Header Being Displayed At Top Of HTML

After rebuilding our web server from NT 4.0 IIS 4.0 to Windows 2000
IIS 5.0, I'm constantly getting HTTP Headers posted to the top of the
HTML source (generated from ASP pages of course). This only seems to
happen upon hitting the browser's (IE 6.0) "back" button and not even
100% of the time when hitting the back button. Here's an example of
the source that is generated: Code:

View Replies View Related

Limiting Number Of Columns Displayed

When displaying data from a database, how can I limit how many columns are displayed on the page?

I am trying to build an image gallery, and I want it to be 5 images across by x number of rows. I know how to make each image it's own column, or it's own row, but I don't know how to limit how many columns are displayed per row.

View Replies View Related

Data Displayed As ASP/HTML Chart?

I have a site on which the visitor completes a form. When submitted, the form field details (email address, business, etc) are stored in an MS Access database.

I have to log-in to my server at the moment to see how many forms have been submitted.

Is there a way - I am sure there must be - of linking this MS Access database, that is, the number of forms submitted to it (which is not the same as counter 'hits', because people can visit the site without submitting the form), to an ASP/HTML page which displayes the figure in chart form month by month?

View Replies View Related

How Does One Update All Records Displayed In A Asp Page

I got a test asp page which connects to Northwind.mdb database. This page
pulls all the rows from the Customers table. One column i.e. GoodStatus has
been added to the customers table. The following is the code to display all
records of the customers table with some customization. Code:

View Replies View Related

Page Cannot Be Displayed In Release Mode

I am pretty new to asp.net, and have recently taken over a project. I have
gotten to the point where I am about to release my changes, but for some
reason when i build the project in release mode and launch in in IE I always
get a "The Page cannot be displayed" page instead of my login form.

Anyone have any ideas? The applciation works fine in debug mode, its just in
release mode that this happens.

View Replies View Related

Removing %20 From URLS Displayed By Search Engine

I have this asp search engine that displays the urls for the files found, only the display shows %20. I need to remove the %20 and display a space instead; is there some way I can mask or remove that for displaying results for users?

View Replies View Related

Different Messages Displayed Depending On Stock Level

I want to display a different message deppending on the amount of stock left. For example if there is no stock i would like to display "out of stock", if the item is in stock display "in stock". Code:

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved