473,406 Members | 2,259 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Under High IE Security buttons don't work

Hi All,
I've got a set of asp pages used to register students into the ResNet database. Testing things out under
different browser security settings I ran into a problem. The following buttons....

<INPUT type=button id="EditInfo" name="EditInfo" value="Edit Information" class="ButtonBlue" style="WIDTH:
150px" onclick="location.href='EditResNetInformation.asp' ">
<INPUT type=button id="GoToGetMAC" name="GoToGetMAC" value="Continue" class="ButtonBlue" style="WIDTH: 150px"
onclick="location.href='GetMACNow.asp'">

.....on page ReadySetGetMAC.asp (in text following) do not do anything in the onclick when Internet Explorer has
High Internet zone Security. No error is given.....it looks as if the page has only been refreshed.

GetMACNow.asp (also in text following) is 1 of the 2 pages which can be called from the ReadySetGetMAC.asp page.
Right now it is nothing fancy at all.

If I place http://<MyIPAddress>/WebRegTest/GetMACNow.asp directly into the address I can go to GetMACNow.asp as
I can go directly to the 2nd page when directly addressed.
I seem to be able to go between other asp pages in this project with nothing similar happening.
Also the pages seem to work correctly when using Firefox or Netscape, but I'm not certain I've got them set to
their highest security setting.

So......why don't those buttons work, in particular (I guess), under IE's High Security settings and how do I
get them to work under these settings?

Thanks.

gdr

*******asp pages******
******************begin code ReadySetGetMAC.asp************************
<%@ Language=VBScript %>
<% OPTION EXPLICIT %>
<!-- #include file="ValidatorClient.asp" -->
<!-- #include file="ValidatorServer.asp" -->
<%
'On Error Resume Next
Response.Buffer=true
Response.ExpiresAbsolute = #January 1, 1990 00:00:01#
Response.ExpiresAbsolute = Now() - 1
Response.AddHeader "pragma", "no-cache"
Response.AddHeader "cache-control", "private, no-cache, must-revalidate"
'------------------------------------------------------------------------------
Dim NewValID
Dim cnMain
Dim rstGetConnectionInfo
Dim strStudentIDNumber
Dim strLastName
Dim strFirstName
Dim strEMailAddress
Dim strCellPhoneNumber
Dim strRoomCode
Dim strResidenceHall
Dim strRoomNumber
Dim strPortNumber
Dim strConnectionDate
Dim strConnectionSemester
Dim strConnectionYear
Dim strMACAddress
Dim strOSVersion

NewValID = Session("StuID")

Set cnMain = Server.CreateObject("ADODB.Connection")
Application("ResNet_ConnectionString") = "Provider=SQLOLEDB;" & _
"Data Source=MySQL;" & _
"Initial Catalog=MyDB;" & _
"User ID=IUSR_FAKE;" & _
"Password=*******;" & _
"ConnectionTimeout=15;" & _
"CommandTimeout=30;" & _
"CursorLocation=3;" & _
"Packet Size=4096;" & _
"Use Encryption for Data=False;"
cnMain.Open Application("ResNet_ConnectionString")

Set rstGetConnectionInfo = Server.CreateObject("ADODB.Recordset")
cnMain.spGetOnlineStudentConnectionInformation NewValID, rstGetConnectionInfo

If rstGetConnectionInfo.EOF <> True Then
strStudentIDNumber = rstGetConnectionInfo(0)
strLastName = rstGetConnectionInfo(1)
strFirstName = rstGetConnectionInfo(2)
strRoomCode = rstGetConnectionInfo(3)
strResidenceHall = rstGetConnectionInfo(4)
strRoomNumber = rstGetConnectionInfo(5)
strPortNumber = rstGetConnectionInfo(6)
strConnectionDate = rstGetConnectionInfo(7)
strConnectionSemester = rstGetConnectionInfo(8)
strConnectionYear = rstGetConnectionInfo(9)
strMACAddress = rstGetConnectionInfo(10)
strOSVersion = rstGetConnectionInfo(11)
strCellPhoneNumber = rstGetConnectionInfo(12)
strEMailAddress = rstGetConnectionInfo(13)

Else 'there is no record of this student.....send 'em to apology page
Session("StuID") = ""
Response.Redirect ("ResLifeValidationFailure.htm")
End If
%>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<title>Last Edit Get MAC Address Next</title>
<link href="resnet.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY>
<p align="center"><img src="ResNet_InetActivation.jpg" width="598" height="151"></p>
<h3>Here is your information we have entered.</h3>
<h5>
<%=strConnectionSemester%>&nbsp;<%=strConnectionYe ar%>&nbsp;ResNet Registration<br>
Date of Activation Request: <%=strConnectionDate%><br>
<%=strFirstName%>&nbsp;<%=strLastName%>;&nbsp;&nbs p;<%=strStudentIDNumber%><br>
<%=strResidenceHall%>&nbsp;&nbsp;<%=strRoomNumber% ><br>
Port Number: <%=strPortNumber%><br>
Cell Phone Number: <%=strCellPhoneNumber%><br>
E-mail Address: <%=strEMailAddress%><br>
OS Version: <%=strOSVersion%><br>
MAC Address: <%=strMACAddress%>
</h5>

<p><h3>If this NOT correct, you may edit your information<br>
by clicking the Edit button below,<br>
or you may call the Support Desk @ 6776.
</h3></p>

<h5>
Please click the Continue button below to finish ResNet Internet Activation.
</h5>

<P align="center"><INPUT type=button id="EditInfo" name="EditInfo" value="Edit Information" class="ButtonBlue"
style="WIDTH: 150px" onclick="location.href='EditResNetInformation.asp' ">&nbsp;&nbsp;&nbsp;&nbsp;
<INPUT type=button id="GoToGetMAC" name="GoToGetMAC" value="Continue" class="ButtonBlue" style="WIDTH:
150px" onclick="location.href='GetMACNow.asp'">
</P>
<h5>If you do not have Internet access within 24 hours,<br>
please contact your RCC or the Support Desk at 6776.</h5>
</BODY>
</HTML>
******************end code ReadySetGetMAC.asp************************
******************begin code GetMACNow.asp************************
<%@ Language=VBScript %>
<% OPTION EXPLICIT %>
<!-- #include file="ValidatorClient.asp" -->
<!-- #include file="ValidatorServer.asp" -->
<%
'On Error Resume Next
Response.Buffer=true
Response.ExpiresAbsolute = #January 1, 1990 00:00:01#
Response.ExpiresAbsolute = Now() - 1
Response.AddHeader "pragma", "no-cache"
Response.AddHeader "cache-control", "private, no-cache, must-revalidate"
'------------------------------------------------------------------------------
Dim NewValID
Dim cnMain

NewValID = Session("StuID")

'connection not used yet
'Set cnMain = Server.CreateObject("ADODB.Connection")
'Application("ResNet_ConnectionString") = "Provider=SQLOLEDB;" & _
' "Data Source=MySQL;" & _
' "Initial Catalog=MyDB;" & _
' "User ID=IUSR_FAKE;" & _
' "Password=*******;" & _
' "ConnectionTimeout=15;" & _
' "CommandTimeout=30;" & _
' "CursorLocation=3;" & _
' "Packet Size=4096;" & _
' "Use Encryption for Data=False;"
'cnMain.Open Application("ResNet_ConnectionString")
'connection not used yet

%>
<html>
<head>
<meta NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<title>MAC Address and OS Version</title>
<link href="resnet.css" rel="stylesheet" type="text/css">
</head>
<body>
<p align="center"><img src="ResNet_InetActivation.jpg" width="598" height="151"></p>
<p>&nbsp;</p>

<p align="center"><a href="GetMACHandler_test.asp">CLICK HERE</a></p>

<p>&nbsp;</p>
<h5>If you do not have Internet access within 24 hours,<br>
please contact your RCC or the Support Desk at 6776.
</h5>

</body>
</html>
******************end code GetMACNow.asp************************
--
Gary D. Rezek
University Nerworking Systems and Services
South Dakota State University
Aug 24 '05 #1
1 1927
You'll need to try an IE or client-side scripting newsgroup. This has
nothing to do with asp.

Gary D. Rezek wrote:
Hi All,
I've got a set of asp pages used to register students into the ResNet
database. Testing things out under different browser security
settings I ran into a problem. The following buttons....


--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Aug 24 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: Adrian B. | last post by:
Does anyone know of a framework or library that will enable me to use publish/subscribe comms? I want to create a server (using Python) running on a Unix box that will accept client connections...
6
by: Mike | last post by:
Any help would be greatly appreciated. Based on MS KB article Q248187 (HOWTO: Impersonate a User from Active Server Pages), I developed an ActiveX DLL (using VB6.0 Enterprise SP5), and deployed...
2
by: tlotr | last post by:
Can I get my local IP address from javascript under IE? I've some pieces of code that work under netscape, but it doesnt under ie. Thanks in advance, tlotr
5
by: cdlipfert | last post by:
Our intranet is running under windows integrated security. We have domain users that want to access our intranet site via ssl vpn. SSL VPN can not authenticate against services that run under...
4
by: Darin | last post by:
I have a form with a panel. On the panel, I have dynamically created labels with the backcolor of control.lightlight, with a width of 200 pixels. I then dynamically create buttons next to the...
2
by: Gordowey | last post by:
Hi all, I would like to ear your opinion about the best approach for and ASP.net with high workload traffic (High number of visitors) using SQL DB Consider the following scenario: - Website...
1
by: mstery | last post by:
I need to collect course registrations, with cc info, via an ASP registration form that would operate under SSL. The order info would be stored in a database that resides outside of the public web...
51
by: Ojas | last post by:
Hi!, I just out of curiosity want to know how top detect the client side application under which the script is getting run. I mean to ask the how to know whether the script is running under...
1
by: teddysnips | last post by:
I have a new client who has an Access 2000 database that used to run under Windows 2000 Pro. They have just "upgraded" to Access 2007 under Vista, and the old database stopped working - buttons on...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.