[ic] help with sessions getting lost

John Young john_young at sonic.net
Wed Aug 27 12:22:14 EDT 2003

Ed L. wrote:
> The most common causes of losing sessions:
> 1. Bad link coding: using hard-coded URL's (i.e. <a 
> href="/cgi-bin/cart/blah.html">) instead of the [area] or [page] tags. 
> Unless the client's browser is supporting session cookies, this will 
> fail, and it is almost never a good idea anyway;
> 2. Loss of session in form post: ensure that all forms contain:
>         <input type=hidden name=mv_session_id value="[data session id]">
> 3. Interchange invalidates the session because it senses that the host 
> or remote host has changed;
> 4. Very short SessionExpire times, file system issues;
> 1 or 2 are much more likely than 3 or 4 in my experience, and no doubt 
> someone else could add to this list.

Good points.

JP - w/regard to #3 above, check that you have:

HostnameLookups Yes

That would at least explain sessions dropping due to remote host
identification (#3, above) changing in the case of browsing through
proxies (such as any AOL accounts).

John Young

More information about the interchange-users mailing list