Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (Bjab), 25 Guests and 16 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 469
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
SD 10
dbremer 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 2 1 2 >
Topic Options
#26596 - 11/22/00 06:48 AM Cookies vs. Sessions
Anonymous
Unregistered

I´d like to be testing the PHP version here at wwwthreads.com a little more than I do. The reason I hardly ever go into it is because I dont like the sessions. Everytime I come back I have to log in again, annoying. Could you set it up in the cookies option?
There again, maybe you have the sessions on to show that it is sessions capable... if so, how about setting up another installation with cookies? Too much? <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" /> . Just wanted to let you know why I didnt -and probably many others, not use the PHP version here. I think these session things are great for shopping carts, but for a forum like this... I dont need that much tight security. I like cookies who remind who you are in the forum everytime you come back.

Mateo Byler
<A HREF="http://crucedecaminos.com" target="_new">CruceDeCaminos.com</A>
Top
#26597 - 11/22/00 09:42 AM Re: Cookies vs. Sessions
Anonymous
Unregistered

Actually it can use both. You can have WWWThreads use sessions, but initially recognize you via a cookie. You have to change a setting in the php.ini file though, else the cookie is either not set or just expires too quick (I honestly don't know which...same thing though).

That way, for paranoid people they can still get in and use sessions (just block all cookies from your site). For all others, they don't have to login each time if they don't want to.
Top
#26598 - 11/22/00 10:15 AM Re: Cookies vs. Sessions
Anonymous
Unregistered

Yes, well what I meant was for using cookies right here, at www.wwthreads.com php forum. When I set my php version up I will choose the cookies option instead of the sessions -there is an option, right?

While I dont have it at my site set up yet I wouldnt mind testing it here, but I dont like having to log-in again everytime I come back.

Or are you speaking of a user/member prefference?

Mateo Byler
<A HREF="http://crucedecaminos.com" target="_new">CruceDeCaminos.com</A>
Top
#26599 - 11/22/00 10:40 AM Re: Cookies vs. Sessions
Anonymous
Unregistered

What I meant, is that you can use sessions without it forgetting who you are each time you come back. It can set a cookie AND still use sessions.

It's something Scream would need to do on his own server, edit the php.ini file to enable that. Else the cookie is not kept (if it was even set in the first place).
Top
#26600 - 11/22/00 02:59 PM Re: Cookies vs. Sessions
Anonymous
Unregistered

I don't like having to log in every time, either. I've made the same silly mistake a few times. I keep hiting the "forgot password" button...by accident. AAARRRGGH! Then my password changes, I have to check my email to get the new one. Even though it was my fault, it is still "friction" between me and my desired user experience. A long lasting cookie would solve everything.
Top
#26601 - 11/23/00 03:16 AM Re: Cookies vs. Sessions
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
I'll probably make the change to cookies so you don't have to log in each time. But a thing to note, when you request a temporary password your old one will still work. All it does is issue a temp password, it doesn't actually change your real one. This way, even if you hit it by accident you can just ignore the temporary password.

---

Scream

WWWThreads Developer
Top
#26602 - 11/26/00 01:52 AM Re: Cookies vs. Sessions
Anonymous
Unregistered

In general aren't both boards the same. The Perl uses cookies and the PHP uses sessions. Just use the Perl.... pretty simple fix.

Doug

<a href="http://www.netherworldrpg.net" target="_new">http://www.netherworldrpg.net</a>
Top
#26603 - 11/26/00 01:55 AM Re: Cookies vs. Sessions
Anonymous
Unregistered

Well technically that wouldn't work 100%. Sessions data is stored in a temp directory and the cookie that your computer has just lets the server know which temp file has your data in it. While you could make that cookie never expire the server does (just to keep this simple I won't get into the details of how PHP does this) periodicially delete that data when it's not used for a while. So at some point you will have to relogin. That setting on how long the sessions data is set in php.ini (gc_probability and the other gc_ variable).

Doug

<a href="http://www.netherworldrpg.net" target="_new">http://www.netherworldrpg.net</a>
Top
#26604 - 11/26/00 06:17 AM Re: Cookies vs. Sessions
Anonymous
Unregistered

Yes, it does work 100% <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" /> . First, the php version can be set to use cookies OR sessions to keep track of visitors during each visit. Even if you use sessions, it can initially recognize you via a cookie. For this to work; you need to change one of the default values in your php.ini file. Change session.cookie_lifetime to the same value in your config.inc.php file. For example, to have cookies expire in a year, use:
session.cookie_lifetime = 31536000
Works perfectly. My php forum uses it, located at <a href="http://www.thetechguide.com/forum" target="_new">http://www.thetechguide.com/forum</a>.
Top
#26605 - 11/27/00 10:52 AM Re: Cookies vs. Sessions
Anonymous
Unregistered

You didn't read what I said why it won't work 100%. I said that if you don't login or use the boards for a while (whatever your session data expiration time is), then your data will be deleted after that and you'll have to relogin. You probably use your message boards all the time so that's not a problem for you.

Doug

<a href="http://www.netherworldrpg.net" target="_new">http://www.netherworldrpg.net</a>
Top
Page 1 of 2 1 2 >



Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image