| Dart Home | PowerTCP Web Enterprise for ActiveX | Custom Development | Reply | PowerTCP Web Enterprise for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Web Enterprise for ActiveX Topic: Getting Cookie |
| HimanshuRajurkar From: Indore, MS India Posts: 9 Member Since: 06/01/02 |
posted June 1, 2002 7:11 AM Hi, I have my site protected with username and password. Using WebAsp Control I have to provide the cookie value and only then I can fetch the data, but using Web Control I could fetch the data from my site by providing the username and password. That is very good. So Web Control creates the cookie. Can I have a facility to access that Cookie value using Web Control? If not then Can I fetch the data using WebASP control by providing the username and password? I am also facing one more problem. I provide a URL to WebASP control and then I use the Post method and it's working fine. But in case of Web Control same URL is not working. Although I am getting the response but that is not the correct one. |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted June 3, 2002 8:58 AM Hi, The Web control automatically checks the cookie store for cookies pertaining to the URL in question (it does not actually create them). You have to do this manually with the WebAsp control. You can compare the two controls by Posting to the Debug server included with the Tool. Examine what is sent by WebAsp, and then reproduce this message using the Web control. -ken |
| HimanshuRajurkar From: Indore, MS India Posts: 9 Member Since: 06/01/02 |
posted June 4, 2002 1:29 AM Hi, Thanks for your quick reply. My case is bit compicated. Let me explain you in detail. As I already told you that my site is password protected. Now when I run my site from browser it automatically sends one cookie to the server and I just use the Request.Cookie("<CookieName>") to fetch this cookie. Now when I set this cookie to Dart WebAsp control it fatches the data for the given URL, but if I don't provide this cookie value and just provide the username and password, WebAsp control unable to fetch the data. Whereas Dart Web Control fetches the data just by providing the username and password and when it fetches the data it creates one folder on the server and the folder name is the cookie value. I just want that cookie value so that I can use WebAsp control for my further operations. Thanks |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted June 4, 2002 10:07 AM Hi, Please see my previous answer for recommendations on how to tackle this. If you need help implementing what I suggest, please consider one of our paid support options. Thanks, -ken |
| Reply | PowerTCP Web Enterprise for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|