Passing Values to another asp file from inside VbScript 
Author Message
 Passing Values to another asp file from inside VbScript

<SCRIPT LANGUAGE= "VBScript">

Sub btnClickMeHardAndGood_OnClick

If validate(validated_value67,validated_value95,) then
 location.href="another.asp"
 Else
      x=MsgBox("validate failed")
 End if

End Sub

</script>

In the above sub-routine,

1. I don't know how to pass the validated
values to another.asp
 or
2.how to save the two validated values to the session, so other
asp files can access them

I tried to get out in between the sub to go to asp & try to do
it in ASP but Vb script complains & won't let me.

Sent via Deja.com http://www.*-*-*.com/
Before you buy.



Tue, 29 Oct 2002 03:00:00 GMT  
 Passing Values to another asp file from inside VbScript
1. location.href="another.asp?value67=" & validated_value67 & "&value95=" &
validated_value95

2. Another.asp

<%
value67=Request.QueryString("value67")
value95=Request.QueryString("value95")

Session("value67")=value67
Session("value95")=value95
%>

Hope this helps.



Quote:

> <SCRIPT LANGUAGE= "VBSCRIPT">

> Sub btnClickMeHardAndGood_OnClick

> If validate(validated_value67,validated_value95,) then
>  location.href="another.asp"
>  Else
>       x=MsgBox("validate failed")
>  End if

> End Sub

> </script>

> In the above sub-routine,

> 1. I don't know how to pass the validated
> values to another.asp
>  or
> 2.how to save the two validated values to the session, so other
> asp files can access them

> I tried to get out in between the sub to go to asp & try to do
> it in ASP but Vb script complains & won't let me.

> Sent via Deja.com http://www.deja.com/
> Before you buy.



Tue, 29 Oct 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. ASP : Passing values from One ASP to the Next

2. calling comobjects from a function written in vbscript inside asp

3. vbscript 6.0 inside ASP 3.0

4. Problem of Passing value from .asp to .vbs

5. Passing SELECT values to ASP

6. Passing SELECT Values to ASP

7. Please Help - Passing SELECT values to ASP

8. Passing a value from ASP to the script

9. Passing a Value from JavaScript back to ASP

10. Passing Values to asp page

11. Frames and ASP and passing parameters / values

12. Passing Yes/No Value to an Asp

 

 
Powered by phpBB® Forum Software