Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Help with message "Object Required: 'request'"

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,110
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Help with message "Object Required: 'request'"
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Help with message "Object Required: 'request'" - 6/5/2001 8:44:23 PM   
  igorz

 

Posts: 3
Score: 0
Joined: 6/4/2001
From: Russia
Status: offline
Hi folks

Does anyone know what the error message in the subject line
means? If I need to post more info I will, but I'm looking for a general
explanation.

Thanks

Igor
 
 
Post #: 1
 
 Re: Help with message "Object Required: 'request'&... - 6/5/2001 8:45:30 PM   
  pia

 

Posts: 13
Score: 0
Joined: 5/31/2001
From: USA
Status: offline
Could you post the code that this message appears from?

(in reply to igorz)
 
 
Post #: 2
 
 Re: Help with message "Object Required: 'request'&... - 6/5/2001 8:46:35 PM   
  igorz

 

Posts: 3
Score: 0
Joined: 6/4/2001
From: Russia
Status: offline
Sure thing....

<%@ LANGUAGE="VBSCRIPT" %>

<html>
<head>

</head>
<body>
Hi <%=Request.form("Cardnum")%>! Your PIN is
<%=Request.form("PIN")%>
<SCRIPT LANGUAGE = "vbscript">
<!--
Alert "CrdNum is a type " & VarType(Request.form("Cardnum")) & "
Variant and strPIN is a type " & VarType(Request.form("PIN")) &
"Variant."
-->
</SCRIPT>
</body>
</html>

(in reply to igorz)
 
 
Post #: 3
 
 Re: Help with message "Object Required: 'request'&... - 6/5/2001 8:47:25 PM   
  pia

 

Posts: 13
Score: 0
Joined: 5/31/2001
From: USA
Status: offline
Hi,
this ones simple. You have used the request object in a client-side
script. The client does not have any notion of the ASP environment so
what you want to do cannot be done in the manner that you want.
What you might do is return the data you want to show in the alert in
some hiiden fields and then use that to populate the alert.

(in reply to igorz)
 
 
Post #: 4
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Help with message "Object Required: 'request'" Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts