Jump to content
PiedSoftware

Can Delphi set session data in opening a webpage?

Recommended Posts

Hi

 

This is a preliminary question. We have some functionality on the web and want to be able to set log-on to the web page from the Delphi app, without the log-in credentials being stored by the browser app.

Any idea?

Share this post


Link to post

Whether the credentials will be saved (or updated) in the browser app is typically a user choice, presented after the login data is entered. Unless this feature is disabled completely.

 

Can you give more information about environment / use case / functional requirements?

 

Edited by mjustin

Share this post


Link to post
On 4/20/2023 at 6:26 PM, microtronx said:

Normally Sessiondata is stored in cookies and yes you can handle them with delphi

Thanks, microtronix. Are you saying that from Delphi you can open a web page with cookies set in the code, and those cookies are not stored on the filesystem of the client?

Share this post


Link to post
4 hours ago, PiedSoftware said:

Thanks, microtronix. Are you saying that from Delphi you can open a web page with cookies set in the code, and those cookies are not stored on the filesystem of the client?

Yes, look at tidHTTP and its CookieManager property (tidCookieManager). I think there are some examples out there. 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×