Login  
Search All Forums
Dart Home | PowerTCP Web for ActiveX | Custom Development Reply | PowerTCP Web for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web for ActiveX
Topic: Web Tools Session State
User340

Posts: 2
Member Since: 01/06/02
posted January 6, 2002 4:49 PM

I am using Web Tools accessing a web site that uses MS IIS, ASP and Session. everytime i access a page, the session cookie changes. does web tools support session state? i tried sending the exact session cookies back to keep state but fails.

thanks, Ray
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted January 7, 2002 10:32 AM


Hi Ray,
I can reproduce this. 
When I have Cookies = True, the Session cookie sent by the Http control to my test Asp script is always the same while my app remains running.
What should I do to reproduce this?
Thanks,
-ken

K M Drake
Dart Tech Support
User340

Posts: 2
Member Since: 01/06/02
posted January 7, 2002 8:59 PM

you responded with: What should I do to reproduce this...

here is a little more background on what i am trying to do. the server i am accessing sets a session variable to keep state once client has been authenticated. once authenticated, other pages are available to client. but after i authenticate, the aother pages report that i have not been authenticated (no session state) so is this me or web tools?

my settings are:

m_oResponseHeader.Clear

  Http1.Cache = False
  Http1.Security = m_nSecurity
  Http1.Timeout = 300000
  Http1.Cookies = False

Http1.Get m_sContent, m_oResponseHeader

i have tried both setting of .cookies (true/false) and get the same result.

i set cookies to false so i can see all of the header cookie setting like below:
Set-Cookie: ASPSESSIONIDQGQQGGAD=EKJPBHPAFJFDPDLDEPDGGOBL; path=/

this is the session id created by the server.
it changes everytime i access the a page on the server.
i can't give you the url because it is a private site.

thanks,

ray
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted January 8, 2002 9:15 AM


Hi Ray,
If you set the Cookies Property to True, the control should automatically add the cookie when you access pages under the cookie's path. If it is False, you must add the cookie yourself.
When I access a page (Cookies = True), the server includes a session cookie in its response. When I access this page again, or another page under the same path, the session cookie is included in the request.
We can dive further into this if you have a support package (just email support@dart.com).
Thanks,
-ken

K M Drake
Dart Tech Support
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX