[eluser]dawnerd[/eluser]
[quote author="alebenson" date="1200874677"]thanks!! well that works fine...
but i dont get something...
that whould enable the session without asking for the pass... that dont make sense
or the idea is to enable the session library always and passit a user flag and always check for that flag ?[/quote]
You're not enabling the session. You're just loading the session class which gives you access to all the methods inside it, such as sess_destroy().
It's actually best to autoload the session class since it's used quite often.
I also might add that the db_session library is a lot more secure than the regular session class.