Forums / Cotonti / Support / auto-logged out if using url_rewrite and not checking "remember me" box

problems with Cotonti setting cookies and outh_session when using brute url_rewrite

donP
#24893 2010-06-07 15:45
No, I'm not at my work-PC till this night... I'll try as soon as possible. Thank you.

P.S. Do you suggest me to use a random-value-generator function? Do you know some?
P.S.2 I'd remember you that many other parts of Cotonti Code have to be changed in my case (using mod_rewrite to create subdomauins)... all SED_ABSOLUTE_ULR codes at first...

Added 1 day later:

I've tried, following your suggestions...

I first used

$site_id = 'ct' . sed_unique(16);

but I couldn't login at all, no more.

Then I tried

$site_id = 'alphanumericalstring';

and the problem was the same I described in the first post of this topic... so, it would be the PHPSESSID cookie and its domain (but I can't figure how it can function now simply by permanently checking the "remember me" checkbox... but it work well, and I use this solution for now).
in [color=#729FCF][b]BLUES[/b][/color] I trust
This post was edited by donP (2010-06-08 20:20, 14 years ago)