Warning Msg

i have a form, with a large test area, and a submit button linked to an access databse,
i want to pu an if

if the text is empty dont submit msg a warning
else submit
i tried
<% if rquest.form("comment") = "" then
response.write ("fill in comment")
end if %>

didn t work
when i load my page the msg will appear because it is empty

View Replies


ADVERTISEMENT

Activex Warning

I get the following warning when i receive a mail send from Asp:

""Your current settings prohibit running ActiveX contros on this page. As a result, the page may not display correctly.""

i want to avoid getting this message what can i do for it.

View Replies View Related

Session End Timeout Warning

Is there a way to see if the session is going to timeout and then warn the user or display a page that it timed out.

View Replies View Related

Close Window Without Warning

I want to close the window without the warning "internet explorer is trying to close..." being displayed. I want to do this with vbscript. I found out that in javascript you can do it by including window.opener='x' followed by the window.close statement.My code is:
Code:

Response.Write "<script type=""text/vbscript"">"
Response.Write "MsgBox ""Hi. see you again"""
Response.Write vbcrlf
Response.Write "window.close"
Response.Write "</script>"

is thr anyway i can get this done in this code?

View Replies View Related

Warning: Page Has Expired

Regarding the Internet Explorer message below:

"Warning: Page has Expired The page you requested was created using
information you submitted in a form. This page is no longer available.

As a security precaution, Internet Explorer does not automatically
resubmit your information for you.

To resubmit your information and view this Web page, click the Refresh
button. "

I'm developing an e-commerce site from scratch.

I've noticed on other e-commerce websites that use other development
tools such as php or probably "websphere" (java) that when clicking
the back button this message appears during a checkout process. This
is good because it reduces customer error in many ways.

I'm using ASP and response.redirect mostly. But, I've noticed that
even setting a page timeout to zero won't stop the caching of the
page. My customer, who just submitted a form, can just click the back
button and the cached page just comes up.

How do I create the error above with ASP?

View Replies View Related

Warning: Page Has Expired...

How do you get a web app to not show the 'page has expired...' error and
refresh and requery when you hit the back button after submitting a form I
just want the old data to still be displayed in the form.

I checked knowledge base for this and I do not have "Do not save encrypted
pages to disk" checked and am running IE
6.0.2900.2180.xpsp_sp2_rtm.040803-2158.

View Replies View Related

Avoid Warning Message

I am writing a web app using asp.net 1.1 and C#. This web app is launched in another win32 application and this app needs to pass information to my web app. But this win32 application doesn't support long string(Maximum 255)

I hv to use an intermedia plain file and in my web app,usingScripting.FileSystemObject to open the file and read the information in. Each time when I launch the web page, I got a warning message saying "AnActiveX control on this page might be unsafe to interact with other parts of the page. Do you want to allow this interaction?" Users need to click Yes to proceed.

All applications run in Intranet environment within a corporate network. My question are "Can I avoid this error message?" and "Can I give permission to my particular web app to run Scripting.FileSystemObject?"

View Replies View Related

Avoiding IE Warning Messages

I asp.net pages that run on an intranet IIS server. Some op the pages use
XLM DOM doc.Load(sPath) to open and parse a XML file. Every time the
doc.Load(sPath) executes in IE6 a warning message comes up
"This page is accessing information that is not under it's control. . . "

How can I avoid this message. It is a great anoyance to the users. Do I
need to create some time of certificate to pass...

View Replies View Related

Reset Session.timeout After Warning

Do you know how to reset session.timeout after user click to extend the session timeout?
For example, default session.timeout is 20 mins and 2 mins before will ask whether extend working on the site or logout.

View Replies View Related

Session End Warning On Refresh / Reload

when the senssion ends a message box pops up and alerts the customer that it has ended, but I would only know how to do it after they reload the page or soemthing to check if the session ended. Anyone know how to make a msgbox pop up as soon as the session ends? Also in IIS, is there a place where you can set the sesssion length?

View Replies View Related

Warning BC40056: Namespace Or Type Specified In The Imports 'MySql.Data.MySqlClient'

Currently i working on a project using ASP.net and mysql. these are the classes i imported:

<%import Namespace="System.Data" %>
<%import Namespace="MySql.Data.MySqlClient"%>
Sub Page_Load(sender As Object, e As EventArgs)

Dim myConnection As MySqlConnection
Dim myDataAdapter As MySqlDataAdapter
Dim myDataSet As DataSet

Dim strSQL As String
Dim iRecordCount As Integer

myConnection = New MySqlConnection("server=myserver; user id=XXX; password=XXXX; database=XXXX; pooling=false;")

when i try to test it out on my localhost, i got this error compiler page:

(warning BC40056: Namespace or type specified in the Imports 'MySql.Data.MySqlClient' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

or

Dim myConnection is not defined. ....

View Replies View Related







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