Thanks for your reply bpat1434, I check that and the seting is always ok, but what I discovered is that setting session.gc_maxlifetime works good, the problem is that if other script doesn't set the same value to the propertie, the maxlifetime is set to the php.ini value. I'm currently in a shared hosting, no access to php.ini, and some other companies are hosted in the same server, I think we use the same php/apache instance, so if I change the gc_maxlifetime to a higher value, it'll work but because there are other script runing by diferent people, the value is reseted and my maxlifetime set by a ini_set get lost. So the ini_set is useless in a shared environment, my alternative here, I think is, using .htaccess but, I need to modify mi htttpd.conf to allow .htaccess usage, and I have no access to that file too. Anyway just sharing that information I discovered. Thanks.
Hector.