we have a web system whena user submits a form, it's take to a page... if the user didn't fill in a particular form properly then resulting page tells them so. they then go back and fill in the remaining fields.this works for all but 1 user whose values disppear totally, having to do it all again.has he got his computer set up differently?
I have a problem where form values go missing. The are several forms on one page with indivdual names (i.e. form1, form2) but with the same fields. Whenever the form is submitted via post the values disappear. It only happens on this one particular page.
The odd thing is that if I do a response.write with the variable and then a response.end write after it it shows up perfectly. The page is just a basic record update page. If I do a response.flush() it works as well (up until the redirect). I am leaning towards a response buffer problem but still don't understand why it is happening.
I have a problem here, dealing with zero. When i insert into a SQL database a value, say 4.50, through an ASP, it will display in the SQL as 4.5, instead of the value 4.50 i entered. Therefore, when i retrieved the data from SQL, it will only return and display 4.5 IS there any way whereby i will get 4.50 instead of 4.5?
We created an asp.net 2.0 app, which sends smtp email using System.Web.mail. The app is in an IIS 6 application pool isolated to 2.0 apps on a 2003 server.
The app worked fine for a few days; recently however it began failing when sending to external addresses (it works fine if the recipient is inside our internal domain).
Comparing the logfiles, I notice when it was working both versions of the CLR appear in log entries, for example:
I have code that inserts data into a db.What I would like to now is make sure that all textboxes have been filled out before inserting the data into the db. Moreover, send the user back to the page with the incomplete data, but with the completed data in the textboxes.
I am running Sun One ASP v 4.0.2 on Apache 2.0.x on Win XP Home. I noticed that Sun One Asp doesn't come with components such as AdRotator, Content Rotator, Browser Capabilitles, etc. Is there any way I can install all these components on Win XP Home. For me upgrading to Pro is not an option.
I have a record set with the ItemNo field with the data type as Text. In the record that I have, I want to find the missing number in the series
for example: 1 3 4.1 4.2 5 missing number is 2.
How can I display the missing number in the browser or give me a return value that notifies me that there is a missing number in the series. Is there any function for that? Or how can i do that using a loop?btw im using ASP Classic and MS Access Database.
i've a problem here. everytime a user click on "approve" button, they'll always get database error. and when i check the error log, there are several fields that have missing characters, which results in database error.
I dont want code, I just want a few links and ideas I want to create a forum. I have noticed alot of the posts here are very long Yet access only allows for 256 characters max. Can you use ASP to create a forum? If so, what type of database is used to store the information?
i want to add a forum to my website, i don't have time to built one and i found a free php forum that call PHP-NUKE, i'm sure that some of you heard about it. unfurtunatly i can't use this system cause my windows server does not support it. does anyone know of a similar system in asp that i can use?
I am in the process of writing my own forum. It is gone fairly well so far. I been searching different forum scripts, both asp and php, and I can't find this answer.
How is it scripted to only show a forum post that hasn't been read by the current user? I feel it has something to do with the last visit, and or the date of the post.
But I am not sure how this is done. On my phpbb forum, I can go in and read something, go back to index, refresh, and that post is now marked as read. how is this done?
I have a record set (rs) that contains 25 barcodes values that I set to true in a cookie. (see code section below)
If I read the cookie from within the same page that created it, I see all 25 values. But if I redirect to another page and read the cookie only 18 of the values remain.
Even though I load the same 25 barcodes at login, the 18 that remain can differ each time.
If anyone can help figure out why I am missing data in the cookie, I would appreciated it. The cookie size is only 2k.
Here is the section of code i am using to create the cookie. Hopefully, I did not make any typos when I retyped it.
while not rs.eof response.cookies(cstr(rs("code"))) = "true" response.cookies(cstr(rs("code"))).expires = dateadd("d",1,date) rs movenext wend
Here is the section of code i am using to view the cookie.
for each cookie in Request.cookies if not request.cookies(cookie).haskeys then response.write "<br>" response.write cookie + " = " + request.cookies(cookie) else for each key in request.cookies(cookie) response.write "<br>" response.write cookie + "( "+ key + ") = " + request.cookies(cookie)(key) next end if next
Is there a way I can test if an image file exists before displaying it?
I have a database that has an image field in it that users enter a filename into. Is there a way for me to check using an "if" statement that the file is actually on the drive before displaying it? ie:
<%okimage=(rsFile.Fields.Item("image").Value) If okimage='actually on the drive' then%> <img src='(rsFile.Fields.Item("image").Value)'> <%else%> <img src='noimage.jpg'> <%end if%>
How do I redirect a non existing image link on my server to another image?
On a page in "Server A", there's this tag: <img src="image_url_on_Server_B" >
suppose I want to remove the image from "Server B", and the tag above will display a different image, which was redirected due the absense of the original image src.
Does anyone know how I can detect if a image is missing from the server before the browser tries to render it, I guess this would have to be done via some sort of preloader, the problem being I am the site in question has around 30,000 images and keeping on top of missing images is a impossiblility.
I got the following error when access an asp page.
Response object error 'ASP 0185 : 8002000e' Missing Default Property /downtime_category-old2.asp, line 0 A default property was not found for the object.
I keep getting an error message: missing right parenthesis and I cannot for the life of me figure out why. Please help me find the problem! It may simply be that I've been staring at the code too long and I'm missing something obvious.
I am doing database connectivity with Microsoft Access database and Using ASP. I am using insert into statement as query but getting an error as below: Error Type:
Microsoft JET Database Engine (0x80040E14) Missing semicolon ( at end of SQL statement.
Even if I put ; at the end of statement it gives same error:
How do I set up a website that if the www. prefix is absent in the request to do a redirect such that the www. is present. For example, if someone types in just domainname.com can I redirect them to www.domainname.com? Would I do this in the global.asa file?
I am trying to set my windows xp pro system up so that i can write and test . asppages. I have followed the instructions given by www.w3schools.com to install the internet information services components. however, it says that I should then get an icon for ISS on the taskbar that will allow me to press 'start' so that my asp pages will work, but I have no such icon. I have tried reinstalling several times but with no change.
I am using CDONTS in an ASP program to accept input from a Form and send an E-mail. The form includes the following as well as some other information :
From (the name of the sender) To ( the name of the recipient) From E-Mail ( the senders E-Mail Address i.e. the Reply to address) To E-Mail ( The recipient's E-Mail Address )
I am having trouble with two properties. What property do I use to set the From (the name of the sender) ? What property do I use to set the From E-Mail ( the senders E-Mail Address i.e. the Reply to address) ?
I have some .asp pages that uses javascriptfile and it works fine in Windows 2000 with IIS 5.0 Now I have changed and run on Windows Server 2003 and IIS 6.0. When I run the .asp pages the IE (6.0) complains on the javascript about missing.
my client wants a forum integrated in his website. Ive found some existing forum solutions (snitz, carbon communities etc...). These are great, but my client wants the forum working whereby when a user posts, the post is sent to the clients who then confirms or denies the post. The forum is for a school, hence the very tight regulation of posts.
Does anybody know of an existing forum which allows this functionality (preferably a free forum).