How do I stop my e-mail subscription?
Under High IE Security buttons don't work
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > ASP web-programming > Under High IE Security buttons don't work 24 August 2005 23:41:56

  Recent blog posts: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

Under High IE Security buttons don't work

Gary D. Rezek 24 August 2005 23:41:56
 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.h­ref='EditResNetInfor­mation.asp'">
<INPUT type=button id="GoToGetMAC" name="GoToGetMAC" value="Continue" class="ButtonBlue" style="WIDTH: 150px"
onclick="location.h­ref='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/GetMACN­ow.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******
******************b­egin code ReadySetGetMAC.asp*­********************­***
<%@ Language=VBScript %>
<% OPTION EXPLICIT %>
<!-- #include file="ValidatorClie­nt.asp" -->
<!-- #include file="ValidatorServ­er.asp" -->
<%
'On Error Resume Next
Response.Buffer=tru­e
Response.ExpiresAbs­olute = #January 1, 1990 00:00:01#
Response.ExpiresAbs­olute = Now() - 1
Response.AddHeader "pragma", "no-cache"
Response.AddHeader "cache-control", "private, no-cache, must-revalidate"
'------------------­--------------------­--------------------­--------------------­
Dim NewValID
Dim cnMain
Dim rstGetConnectionInf­o
Dim strStudentIDNumber
Dim strLastName
Dim strFirstName
Dim strEMailAddress
Dim strCellPhoneNumber
Dim strRoomCode
Dim strResidenceHall
Dim strRoomNumber
Dim strPortNumber
Dim strConnectionDate
Dim strConnectionSemest­er
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 rstGetConnectionInf­o = Server.CreateObject­("ADODB.Recordset")
cnMain.spGetOnlineS­tudentConnectionInfo­rmation NewValID, rstGetConnectionInf­o

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

Else 'there is no record of this student.....send 'em to apology page
Session("StuID") = ""
Response.Redirect ("ResLifeValidation­Failure.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_InetAct­ivation.jpg" width="598" height="151"></p>
<h3>Here is your information we have entered.</h3>
<h5>
<%=strConnectionSem­ester%>&nbsp;<%=strC­onnectionYear%>&nbsp­;ResNet Registration<br>
Date of Activation Request: <%=strConnectionDat­e%><br>
<%=strFirstName%>&n­bsp;<%=strLastName%>­;&nbsp;&nbsp;<%=strS­tudentIDNumber%><br>­
<%=strResidenceHall­%>&nbsp;&nbsp;<%=str­RoomNumber%><br>
Port Number: <%=strPortNumber%><­br>
Cell Phone Number: <%=strCellPhoneNumb­er%><br>
E-mail Address: <%=strEMailAddress%­><br>
OS Version: <%=strOSVersion%><b­r>
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"><INP­UT type=button id="EditInfo" name="EditInfo" value="Edit Information" class="ButtonBlue"
style="WIDTH: 150px" onclick="location.h­ref='EditResNetInfor­mation.asp'">&nbsp;&­nbsp;&nbsp;&nbsp;
<INPUT type=button id="GoToGetMAC" name="GoToGetMAC" value="Continue" class="ButtonBlue" style="WIDTH:
150px" onclick="location.h­ref='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>
******************e­nd code ReadySetGetMAC.asp*­********************­***


******************b­egin code GetMACNow.asp******­******************
<%@ Language=VBScript %>
<% OPTION EXPLICIT %>
<!-- #include file="ValidatorClie­nt.asp" -->
<!-- #include file="ValidatorServ­er.asp" -->
<%
'On Error Resume Next
Response.Buffer=tru­e
Response.ExpiresAbs­olute = #January 1, 1990 00:00:01#
Response.ExpiresAbs­olute = 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("ResNe­t_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_InetAct­ivation.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>
******************e­nd code GetMACNow.asp******­******************


--
Gary D. Rezek
University Nerworking Systems and Services
South Dakota State University


Add comment
Bob Barrows 24 August 2005 23:41:56 permanent link ]
 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.


Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > ASP web-programming > Under High IE Security buttons don't work 24 August 2005 23:41:56

see also:
[Beginners Corner] - Re: Virtual…
[Beginners Corner] - What happens to…
[JBossWS] - Struts
пройди тесты:
see also:
Novenkaja!
hey....

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .