[ic] Session: Cookie or Query String?

Grant emailgrant at gmail.com
Thu Jun 28 11:16:44 EDT 2007


> > > > What do you guys think is the best way to determine if a particular
> > > > session is being tracked via a cookie or a query string?
> > > >
> > > You shouldn't need to determine that at all.  Interchange takes care
> > > of the session itself, so you don't have to.
> > >
> > > If you really want to know, then use [read-cookie MV_SESSION_ID].
> > > If that tag returns a value then a MV_SESSION_ID cookie exists and
> > > Interchange will be using it to track the session.
> > >
> > >     http://www.interchange.rtfm.info/icdocs/tags/read-cookie.html
> > >
> > Thanks Kevin, I'll use that to determine if an order placed was making
> > use of the session cookie or not.  I'm trying to weigh the pros and
> > cons of mv_no_session (no session in the URL ever) vs.
> > mv_no_session_id (no session in the URL unless cookie returned).
> >
> Well, you definitely don't want mv_no_session as a permanent setting
> (ScratchDefault).  You might want to occasionally set mv_no_session
> temporarily to build a specific URI, but you can do that with an
> [area] parameter, or a temporary scratchpad setting, as an when required.
> The mv_no_session_id is another matter, and you probably do want to set
> that to be permanently on with ScratchDefault.

I'm not sure about that.  I outlined the pros and cons of
mv_no_session and mv_no_session_id in ScratchDefault here:

http://www.icdevgroup.org/pipermail/interchange-users/2007-June/047616.html

I'm interested to know what you think.

- Grant


More information about the interchange-users mailing list