[ic] Losing session cookie after login

Jonathan Clark jonc at webmaint.com
Mon Aug 4 10:00:40 EDT 2003

> I've got a problem with my IC install (4.9.7cvs) where the session cookie
> seems to get dropped and not reinitialised after a user successfully logs
> in. Up until the user logs in, the URLs are all clean (i.e. no
> ?id=...), but
> afterwards I always get the id and mv_pc variables in the URL
> until I either
> close the browser or clear the old cookie out of the cache.
> My etc/profile.login file has the following:
>         [set mv_no_count][/set]
>         [set mv_no_session_id][/set]
> which I assume is what is clearing the cookie.

This is not clearing the cookie, but it is altering the session - telling
Interchange to include a page counter and session id (not to not include)..

> Is it necessary to do this
> when a user logs in? If it is, what I don't understand is why a new cookie
> is not issued to replace the old one.

You are not seeing a new cookie because the old one is still being used!

I guess this is being done to try and ensure that the session is not dropped
and pages are not cached along the way.

> Can anyone shed some light on what might be causing this and how
> I might fix
> it?

If it aint broke..


Jonathan Clark
Webmaint.com - Building Clever Websites   http://www.webmaint.com/
Webmaint.net - Business Web Hosting       http://www.webmaint.net/

More information about the interchange-users mailing list