[ic] help with sessions getting lost
mike at perusion.com
Wed Aug 27 16:27:54 EDT 2003
Quoting John Young (john_young at sonic.net):
> 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).
Also, if your system time is off by more than SessionExpire seconds, you
have real trouble. You really need to make sure your time is correct.
Perusion -- Expert Interchange Consulting http://www.perusion.com/
phone +1.513.523.7621 <mike at perusion.com>
Software axiom: Lack of speed kills.
More information about the interchange-users