[ic] Session: Cookie or Query String?
kevin at cursor.biz
Wed Jun 27 13:04:49 EDT 2007
Grant <emailgrant at gmail.com> wrote:
> > > 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.
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin at cursor.biz
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
More information about the interchange-users