restoring cookies

  • Thread starter Thread starter Denis @ TheOffice
  • Start date Start date
Denis @ TheOffice said:
Right now I am truncanating the user name@ and replace it by "http://"
Is there any cases where that should be "https://" if yes how would I
know?

By default, a cookie for a particular domain is sent to both HTTP and
HTTPS URLs in this domain. There exists a concept of secure cookie (one
that should only be sent over HTTPS): to set one, you append ";secure"
to the cookie data when calling InternetSetCookie. But I don't know how
to determine whether a particular cookie found in the cache is secure.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
 
I am still having problem restoring Yahoo.com with personalization.

When I do:
Copy all files after log off, and recreate the user in another system restoring all files including index.dat.
It works.

When I try through those functions it does not restore properly.

I must be missing something?

Regards,
Denis
 
Is there an alternative to InternetSetCookie, it seems it does not work?

in my trial code I realize InternetSetCookie changed the data (don't know why).

Regards,
Denis
 
Hi,

I want to edit the expire time, domain and other properties of the cookie.

What function can be used?

Thanks in advance.

Best regards,
Manjeet Dahiya
 
Manjeet Dahiya said:
I want to edit the expire time, domain and other properties of the
cookie.
What function can be used?

You can't edit a cookie; you can delete an old one and create a new one
with desired parameters. InternetGetCookie[Ex], InternetSetCookie[Ex]
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
 
Back
Top