surf icon indicating copy to clipboard operation
surf copied to clipboard

How to make cookies stay there in the next request.

Open TuralAsgar opened this issue 8 years ago • 2 comments

I am logging in to a site and when I go to a new page where only can be accessible to logged in users it says you are not logged in. It passes logging in form section I believe.

TuralAsgar avatar Nov 10 '17 17:11 TuralAsgar

I would also like to know if this is possible?

nikolal avatar Sep 17 '18 12:09 nikolal

For testing this library I wrote a small PHP app with a simple login working with sessions. That wasn't a problem and everything works just as I was visiting the page myself. In a project I logged into the customers software and it also worked perfectly fine when visiting another page where the user has to be logged in.

How are you visiting the next page? Do you send the form correctly and using the same Browser object?

mbndr avatar Sep 17 '18 21:09 mbndr