pestaa, on 27 August 2009 - 05:26 PM, said:
If I don't explicitly want it to use session, then it shouldn't.
It's a design choice. Sessions are safer, so the better design choice.
Still, there must be a way when I can store user related information. If I don't provide storage, it should use whichever has the most accessibility.
Nope, it should be the one that best fits the requirements.
Generally, it is a wrong idea not to take advantage of sessions.
I agree. That's what I said.
If you specify 'connectionID', your session data will appear in your primary database. I don't want to see in my backups, so I just leave that out and let Yii use runtime folder to create sqlite db.
That's a design choice. But equally, if you don't want it in your backups, then don't back it up!
Well, actually, it will.
If there is a checkbox saying 'remember me', I always tick that.
Me too. Never said I didn't.
Saves me one click on every website I regularly use. Saves me thousands of clicks in each month.
You're looking at things through your usage. People behave differently. Give people choices, don't make it all or nothing.