| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| Cookie question. | |
|---|---|
| Tweet Topic Started: Apr 25 2005, 04:18 PM (478 Views) | |
| Dennis | Apr 25 2005, 04:18 PM Post #1 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Well, I'm having no trouble setting cookies, but I am having one problem. When I have any cookies from any site named anything, it logs in. The only way to be logged out is to delete all the cookiesm from any site. Why is this? |
![]() |
|
| Jory | Apr 25 2005, 04:23 PM Post #2 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Shouldn't be like that. Also, sessions are better (or thats what seth says anyway) Anyway, might we see your code? |
![]() |
|
| Nemesis | Apr 25 2005, 04:35 PM Post #3 |
|
+o0 1337 |=0|- j00
![]() ![]() ![]() ![]() ![]() ![]()
|
What browser are you using, Balrog? |
![]() |
|
| Seth | Apr 25 2005, 04:45 PM Post #4 |
|
I has a pony
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Sessions: remember data between pages (like login info) Cookies: remember data between site visits (like Remember Me login) Pick your poison. |
![]() |
|
| Dennis | Apr 25 2005, 04:45 PM Post #5 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Qj, I'll post the code later, I don't have it with me now, it's on the other computer. ASDF, I'm using Firefox. Also, I'm using the $_SESSION variable, so I'm using Sessions in conjunction with Cookies. That's the best way, from the way I learned it. EDIT: Seth, I want the remember me function for the site, but not for the Admin, like on IPB. |
![]() |
|
| Nemesis | Apr 25 2005, 06:33 PM Post #6 |
|
+o0 1337 |=0|- j00
![]() ![]() ![]() ![]() ![]() ![]()
|
Which would YOU rather prefer? :geek: |
![]() |
|
| kingy | Apr 26 2005, 04:10 PM Post #7 |
|
1 in 10 people understands binary, the other 1 doesn't
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Global sessions are one of the easiest things to learn as well! that makes them excellent. I am using them on a currant project. $_SESSION can store anything you want, so you can assign somebodys username to it and call it from anywhere in a really simple way |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Technology Chat · Next Topic » |
| Track Topic · E-mail Topic |
7:21 PM Jul 11
|



![]](../../../../0/1/0/p601690/pipright.png)



7:21 PM Jul 11