Thanks for the link
I looked at that and Im not sure that would help in this situation. Take a
look at this query which relies on two session variables ---->
<cfquery name="caterers" datasource="#datasource#"
cachedwithin="#createTimeSpan(0,0,10,0)#">
select *
from bg_companies a left outer join
bg_advertisers b ON a.bg_company_ID=b.bg_company_ID
where b.BusinessTypeID=#session.Businesstype.businesstype# and (b.regionID
= '#session.region.regionID#' or b.regionID = '0')
order by b.adlevel desc, a.company
</cfquery>
I have similar queries throughout the site which rely on these two sessions.
So far it has been working smoothly until I got an email from someone saying
they got this error ---->
Element BUSINESSTYPE.BUSINESSTYPE is undefined in SESSION.
So far, I have not been able to duplicate that error, nor has anybody else.
I suspected that it may be a cookie issue, but now I have my doubts.
I would appreciate if anyone can test it and see if their browser returns an
error -----> www.banquetguide.com
thanks
Phil
MattRobertson - 29 Sep 2004 21:59 GMT
The site seemed to behave itself.
the function would help in the sense that you would code your application to a
format that always passes the key pair around . urlsessionformat() allows this
info to be concealed if its not needed. You don't just use it on anchor links.
Form posts as well., for example. A cflocation would have to have
addtoken="yes", though.
One way or another, if cookies are turned off session management will not work
unless you pass the key pair from page to page. It works for YOU because you
already have the cookie, since you've been to the site, so turning them off on
your computer won't do anything unless you account for this and delete the
cookie on your box, so you can simulate a truly new visitor.
--Matt--
MSB Designs, Inc.... http://mysecretbase.com
"Sculpture is what you bump into
when you back up to look at a painting."
- Ed Reinhart