darkducke
asked on
Delphi ICS overbyte TSslHttpCli POST on asp.net C# page
I need to query an ASP.NET C # page using Delphi and the ICs overbyte TSslHttpCli component. I can get the login page with "GET" authenticate with "POST" but when making a query on an internal form using "POST" I am logged out with session expired.
I have a simple font doing the operations, who can help I send the fonts already working and showing where the error is.
I have a simple font doing the operations, who can help I send the fonts already working and showing where the error is.
ASKER
Hello Kimputer, I did it all, I always do it first in the web browser, I've done it several times on other sites, but this one I can't, I've tried it in many ways, so I came here for help.
Hi,
If you need a static unprotected resource, you don’t need to put it “behind” asp.net processing pipeline. Just place it in a folder and allow guests to access it from IIS.
If you need a static unprotected resource, you don’t need to put it “behind” asp.net processing pipeline. Just place it in a folder and allow guests to access it from IIS.
ASKER
I'm not in charge on the site, I really need the application to do the operations, which will be programmed by the software. if anyone can help me I provide the download link of the application.
If you cannot change the access rights, then you’ll need an httpmodule dedicated to file handling. But this is more for downloading, not linking
If you tried, then you should know what the difference is between your browser and your app. Fix those differences. If not, supply 2 capture files (obviously each one, browser and app)).
Try to allow cookies and disallow redirects...
..
IdHTTP1.AllowCookies := True;
IdHTTP1.HandleRedirects := False;
..
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
If the page uses cookies, that's probably what you forgot to implement.