Just had a curious glitch in an app (running CFMX with updater on my local
WinXP Pro desktop):

Using the developer tools interface I've built into my app, I went and
created the Verity collection for indexing a directory of files. Fine. Then
I selected the option to update (i.e. index) the collection. There was the
usual pause while it indexed, then I was promptly thrown back to my login
form. Apparently, my session vars no longer existed.

The code I running was a plain CFINDEX:

  <!--- Get paths to directory and file types --->
  <cflock scope="APPLICATION" type="READONLY" timeout="10">
   <cfset wwwroot = application.vars.front_wwwroot>
   <cfset allowedFileTypes = Duplicate(application.vars.allowedFileTypes)>
  </cflock>
  <cfset allowedFileTypes = Replace(allowedFileTypes, ",", ",.", "ALL")>
  <cfset allowedFileTypes = ".#allowedFileTypes#">
  <!--- Do indexing --->
  <cflock timeout="30" name="INDEXLOCK_downloads" type="EXCLUSIVE">
   <cfindex action="#attributes.action#" collection="downloads"
key="#ExpandPath('..\downloads\')#" type="PATH"
urlpath="#wwwroot#downloads/" extensions="#allowedFileTypes#" recurse="No">
  </cflock>

I don't know *for sure* that the session variables had gone - I've logged
back in now and the indexing worked OK. But, to my eyes, it seemed that my
session had just been wiped.

Anyone come across anything like this before?

- Gyrus

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
- PGP key available
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to