As I understand it, if I use the following header..
..those cookies should remain until I close the browser since I didn't set an expiration date. So correct me if I'm wrong, but shouldn't navigating to a different page on my website send the cookie along? I have my website set to use index.pl as the index of each directory. So if a user logs in, then navigates to a different area of the site with the above header set, shouldn't that cookie persist? I'm new with this type of thing, but that's what the tutorial I read made it seem like. Also, I do realize that you shouldn't store the username and password in the cookie without encryption of some sort. I do have an encryption method that I developed myself. Thanks in advance for help with this newbie question ;|
Code:
Content-Type: text/html
Set-Cookie: Username=Justin;
Set-Cookie: Password=Password2;