Welcome to WebmasterWorld Guest from 18.232.124.77

Forum Moderators: ocean10000

Message Too Old, No Replies

trying to create client page for site running asp

asp client frames refresh

     
7:53 am on Dec 12, 2007 (gmt 0)

New User

10+ Year Member

joined:Dec 12, 2007
posts: 1
votes: 0


I work for a security system company. I'm in the installation department. One of the things we do is go to our monitoring service's website and check the signals to see if we got all of the signals for a particular alarm system.

Unfortunately, that means refreshing the page alot.

So, I started off using an iframe page to refresh the content i wanted. the only problem was that the urls i used to login and set the customer ID would go to another page.

So I tried to create a frameset document. However, the .asp pages completely ignored the frameset information.

My first page was as follows:

<html><head><title>alarm</title>
<meta http-equiv="refresh" content="10, alarm.html">
</head>
<body topmargin=0 bottommargin=0 leftmargin=0 rightmargin=0 leftmargin=0 OnUnload="history.back();">
<table width="100%"><tr><td>
<form name="form1" method="post" action="https://example.com/processlogin.asp" target="#iframe"><input type="hidden" name="loginUser" value="****"><input type="hidden" name="loginPw" value="****"><input type="submit" name="PA Login" value="Login" class="Button"></form></td>

<td><form name="form1">
CS#: &nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="cs_no" size=12 maxlength=10>
<input type="submit" name="Submit" value="Search" class="Button">
</form>
<script language="javascript" type="text/javascript">
var strValue1 = document.form1.cs_no.value;

var strUrl = "https://example.com/accountselect.asp?cs_no=" + strValue1;

top.location = strUrl;
</script>
</td></tr></table>
<iframe name="iframe" width="100%" height="100%" src="https://example.com/historylist.asp?start_date=12/12/200&sortorder=D">
</iframe>

The second attempt was with frameset documents:

<HTML>
<HEAD>
<TITLE>Title Text</TITLE>
</HEAD>
<FRAMESET cols="600, *">
<FRAME src="https://example.com/historylist.asp?start_date=12/12/200&sortorder=D" name="alarm" target="_self">
<FRAMESET rows="50%, 50%">
<FRAME src="https://example.com/processlogin.asp?loginUser=****&loginPw=****" name="login" target="_self">
<FRAME src="https://example.com/accountquery.asp" name="cid" target="_self">
</FRAMESET>
</FRAMESET>
</HTML>

Now, I know, this is not my site. I'm a legal client of < this company >. I have a valid user name and password. What I'm looking for is to use the same login information I have, the same CID query, and the same display categories to input into my own framesets, iframes, or whatever. I DON'T have access to their server, but I do know what variables I need to know and access.

Is there a way where I can make a client side page that pulls the information I want from the .asp server and formats it the way I want without having to actually run it on the .asp server or have them change what they are doing?

I saw some previous posts on here that seemed to indicate that I could embed asp directives into my URL's.

I don't know. I could sure use some help.

Mark

[edited by: tedster at 8:43 am (utc) on Dec. 12, 2007]
[edit reason] use generic information - not specifics [/edit]

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members