Login  
Search All Forums
Dart Home | PowerTCP Web Enterprise for ActiveX | Custom Development Reply | PowerTCP Web Enterprise for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web Enterprise for ActiveX
Topic: Clearing variables
galeforce

From: 121231312, AL US Virgin Islands
Posts: 6
Member Since: 01/14/05
posted January 14, 2005 5:52 AM

I have just installed your Web Enterprise Tool for evaluation. 

How can I clear variables between subsequent posts?

WebASP1.Request.Variables("u") = "fred"
WebASP1.Post

WebASP1.Request.Variables("b") = "mike"
WebASP1.Post

A trace of the second POST shows both u and b variables being sent.

Note that I only want to clear the variables and not the cookies.



Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 14, 2005 10:05 AM

Do While WebASP1.Request.Variables.Count > 0
    WebASP1.Request.Variables.Remove (WebASP1.Request.Variables.Count)
  Loop
Reply | PowerTCP Web Enterprise for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX