http://gambaswiki.org/bugtracker/edit?object=BUG.887&from=L21haW4-

Comment #3 by Benoît MINISINI:

No. It does not work because, by default, WebPage are not buffered. 
So when the session is created, the cookie cannot be sent to the web browser 
because the Webpage header has already be sent.

Two solutions:

1) Add "Me.Buffered = True" in the webpage "_new" method. The headers and the 
HTML will be sent once the page has been entirely rendered.

2) Check the login/password and create the session outside of the WebPage, in 
the Main method for example.

Benoît MINISINI changed the state of the bug to: Invalid.



------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to