Link to home
Start Free TrialLog in
Avatar of peshoff
peshoff

asked on

CInternetSession & OpenURL w/cookies

I'm using CStdioFile, CInternetSession, & OpenURL to bring down web pages.  I've come across a web page that sets a cookie as a user session.

When I access it in VC++6.0 I get a "session timed out" page returned, "please turn on cookies".  If I turn off cookies on my IE4, my program prompts me to save, but regardless of if I do or not I can't get my webpage to load up.

Any help?
ASKER CERTIFIED SOLUTION
Avatar of arbitrary
arbitrary

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of peshoff
peshoff

ASKER

Thanks.  I will try out the timeout variable.  I may not be going to the page that sets the cookie initially, which I think may be the problem if the timeout doesn't work.

I thought that the wininet was supposed to take care of that by itself.  Thanks for your help.