Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem in Button Click

Status
Not open for further replies.

nikscrasher

Programmer
Aug 11, 2003
6
PH
I have a problem when I click the button the url is not in proper way.

Instead of :

'not valid


Here's my code:

Let's say this is my Confirm_Page.aspx
Public Sub SubmitBet()
Dim x
Dim y

If x > y then
Server.Transfer("template2.aspx?target=SubmitBet&sessionid=" & Request.QueryString("sessionid"), true)
Else
Server.Transfer("template2.aspx?target=Confirm&sessionid=" & Request.QueryString("sessionid"), true)
End If
End Sub


Note:
if x > y go to another page to process bet else go back to confirm_page.aspx

Thank you very much...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top