473,836 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="ButtonBl ue" style="WIDTH:
150px" onclick="locati on.href='EditRe sNetInformation .asp'">
<INPUT type=button id="GoToGetMAC " name="GoToGetMA C" value="Continue " class="ButtonBl ue" style="WIDTH: 150px"
onclick="locati on.href='GetMAC Now.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=VBScri pt %>
<% OPTION EXPLICIT %>
<!-- #include file="Validator Client.asp" -->
<!-- #include file="Validator Server.asp" -->
<%
'On Error Resume Next
Response.Buffer =true
Response.Expire sAbsolute = #January 1, 1990 00:00:01#
Response.Expire sAbsolute = Now() - 1
Response.AddHea der "pragma", "no-cache"
Response.AddHea der "cache-control", "private, no-cache, must-revalidate"
'------------------------------------------------------------------------------
Dim NewValID
Dim cnMain
Dim rstGetConnectio nInfo
Dim strStudentIDNum ber
Dim strLastName
Dim strFirstName
Dim strEMailAddress
Dim strCellPhoneNum ber
Dim strRoomCode
Dim strResidenceHal l
Dim strRoomNumber
Dim strPortNumber
Dim strConnectionDa te
Dim strConnectionSe mester
Dim strConnectionYe ar
Dim strMACAddress
Dim strOSVersion

NewValID = Session("StuID" )

Set cnMain = Server.CreateOb ject("ADODB.Con nection")
Application("Re sNet_Connection String") = "Provider=SQLOL EDB;" & _
"Data Source=MySQL;" & _
"Initial Catalog=MyDB;" & _
"User ID=IUSR_FAKE;" & _
"Password=***** **;" & _
"ConnectionTime out=15;" & _
"CommandTimeout =30;" & _
"CursorLocation =3;" & _
"Packet Size=4096;" & _
"Use Encryption for Data=False;"
cnMain.Open Application("Re sNet_Connection String")

Set rstGetConnectio nInfo = Server.CreateOb ject("ADODB.Rec ordset")
cnMain.spGetOnl ineStudentConne ctionInformatio n NewValID, rstGetConnectio nInfo

If rstGetConnectio nInfo.EOF <> True Then
strStudentIDNum ber = rstGetConnectio nInfo(0)
strLastName = rstGetConnectio nInfo(1)
strFirstName = rstGetConnectio nInfo(2)
strRoomCode = rstGetConnectio nInfo(3)
strResidenceHal l = rstGetConnectio nInfo(4)
strRoomNumber = rstGetConnectio nInfo(5)
strPortNumber = rstGetConnectio nInfo(6)
strConnectionDa te = rstGetConnectio nInfo(7)
strConnectionSe mester = rstGetConnectio nInfo(8)
strConnectionYe ar = rstGetConnectio nInfo(9)
strMACAddress = rstGetConnectio nInfo(10)
strOSVersion = rstGetConnectio nInfo(11)
strCellPhoneNum ber = rstGetConnectio nInfo(12)
strEMailAddress = rstGetConnectio nInfo(13)

Else 'there is no record of this student.....sen d 'em to apology page
Session("StuID" ) = ""
Response.Redire ct ("ResLifeValida tionFailure.htm ")
End If
%>
<HTML>
<HEAD>
<META NAME="GENERATOR " Content="Micros oft Visual Studio 6.0">
<title>Last Edit Get MAC Address Next</title>
<link href="resnet.cs s" rel="stylesheet " type="text/css">
</HEAD>
<BODY>
<p align="center"> <img src="ResNet_Ine tActivation.jpg " width="598" height="151"></p>
<h3>Here is your information we have entered.</h3>
<h5>
<%=strConnectio nSemester%>&nbs p;<%=strConnect ionYear%>&nbsp; ResNet Registration<br >
Date of Activation Request: <%=strConnectio nDate%><br>
<%=strFirstName %>&nbsp;<%=strL astName%>;&nbsp ;&nbsp;<%=strSt udentIDNumber%> <br>
<%=strResidence Hall%>&nbsp;&nb sp;<%=strRoomNu mber%><br>
Port Number: <%=strPortNumbe r%><br>
Cell Phone Number: <%=strCellPhone Number%><br>
E-mail Address: <%=strEMailAddr ess%><br>
OS Version: <%=strOSVersion %><br>
MAC Address: <%=strMACAddres s%>
</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="ButtonBl ue"
style="WIDTH: 150px" onclick="locati on.href='EditRe sNetInformation .asp'">&nbsp;&n bsp;&nbsp;&nbsp ;
<INPUT type=button id="GoToGetMAC " name="GoToGetMA C" value="Continue " class="ButtonBl ue" style="WIDTH:
150px" onclick="locati on.href='GetMAC Now.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=VBScri pt %>
<% OPTION EXPLICIT %>
<!-- #include file="Validator Client.asp" -->
<!-- #include file="Validator Server.asp" -->
<%
'On Error Resume Next
Response.Buffer =true
Response.Expire sAbsolute = #January 1, 1990 00:00:01#
Response.Expire sAbsolute = Now() - 1
Response.AddHea der "pragma", "no-cache"
Response.AddHea der "cache-control", "private, no-cache, must-revalidate"
'------------------------------------------------------------------------------
Dim NewValID
Dim cnMain

NewValID = Session("StuID" )

'connection not used yet
'Set cnMain = Server.CreateOb ject("ADODB.Con nection")
'Application("R esNet_Connectio nString") = "Provider=SQLOL EDB;" & _
' "Data Source=MySQL;" & _
' "Initial Catalog=MyDB;" & _
' "User ID=IUSR_FAKE;" & _
' "Password=***** **;" & _
' "ConnectionTime out=15;" & _
' "CommandTimeout =30;" & _
' "CursorLocation =3;" & _
' "Packet Size=4096;" & _
' "Use Encryption for Data=False;"
'cnMain.Open Application("Re sNet_Connection String")
'connection not used yet

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

<p align="center"> <a href="GetMACHan dler_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 1946
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
3519
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 (from GUIs built with wxPython) and publish realtime data updates to them. Any advice on where to start? Thanks. A.B.
6
4027
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 to a corporate web site under NT Server 4.0 SP6a /IIS4.0, expressly to retrieve Office documents contained on the server's DASD, but outside the "view" of the web site, which uses home-grown ASP session security. Works great! However, migrating...
2
27942
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
4404
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 windows integrated security. In order to get around this issue it seems that we would need to create a login page on a separate site that runs under anonymous security. Then pass the users credentials to the site running under integrated security. ...
4
1149
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 labels, but at about pixel position 75, so some of the label is under the button. My problem is the button is not on top of the label - the back color of the label is on top of the button. I have tried panel.suspendlayout first, then resumelayout...
2
1749
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 with 10.000 visitors/day. (and can grows faster. High Scalability is one of teh requirements) - Single W2k3 server (no farm), - ASP.net 1.1 (or ASP.net 2.0) web site - SQL 2000 (or 2005)
1
1301
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 directory. If I write a password protected utility that runs under SSL that allows the person processing orders to view/print records in this database under SSL so they can be manually processed, and after printing delete the cc number in the db,...
51
4174
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 Command Prompt or Browser or some other application? Ojas.
1
1596
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 forms did nothing. When I first looked at it the problem seemed to be the change to the signature of Docmd.Requery (fewer arguments) so I made the necessary changes and the database compiled. I compiled and tested it on my work system (also...
0
9670
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10844
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10591
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10254
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7792
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6979
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5649
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
4016
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3115
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.