Session and cookie in same PHP file?
- by ajsie
Can't I set session and cookie in same PHP file?
I get an error message if I set the cookie after I've set session telling me that the header is already sent.
If I set session after cookie I get nothing but it seems not to work well.