[ic] Problem Maintaining Session

Mike Heins interchange-users@interchange.redhat.com
Fri May 3 17:02:00 2002


Quoting Ed LaFrance (edl@newmediaems.com):
> At 09:05 PM 05/03/2002 +0200, you wrote:
> >Ed LaFrance wrote:
> >...
> > >
> > > I think I will go with my original answer. In this context, what happens if
> > > you change the above request to a 'GET' and pass the session as
> > > mv_session_id=nnnnnnnn ? I am sticking with this because it is the only way
> > > I have tried it.
> > >
> > > This is also a good illustration for why, sooner or later, you have to
> > > yield to the logic of a direct response system, like on of the several
> > > gateways that are already supported by Interchange.  The gymnastics for
> > > handling systems like the above just get too exotic after a while.
> > >
> > > - Ed L.
> >....
> >
> >Question:
> >What is right? mv_session_id=nnnnnnnn or id=nnnnnnnn with IC 4.8.3?
> >
> >Thanks!
> >
> >Joachim Leidinger
> 
> My understanding is: it depends. For a simple link to a page, it is 
> id=nnnnnnnn. For a GET form, it is mv_session_id=nnnnnnnn (passed as one of 
> the CGI vars in the query string). At least that seems to be how it is 
> intended.

Either will work. id= is just a shorthand, and is one of the examples
of variable renaming in etc/varnames.

You can rename any CGI variable in Interchange. Just put in interchange.cfg:

	VarName   mv_long_name_of_variable   abbr

Now if you submit a form with abbr=foo, it is the same as 
mv_long_name_of_variable=foo. And that can be in a form or in
a query string.

-- 
3005 Nichols Rd., Hamilton, OH  45013
phone +1.513.523.7621      <mike@valuemedia.com>

If you think nobody cares if you're alive, try missing a couple of
car payments.  -- Earl Wilson