Ticket #80 (closed defect: fixed)

Opened 20 years ago

Last modified 19 years ago

UUID's constantly getting added to session

Reported by: allex.smith@… Owned by: joe.rinehart
Priority: lowest Milestone: 2.0 Beta 2
Version: 2.0.304 Severity: minor
Keywords: Cc:

Description

This code in: \loader\FrameworkLoader?.cfc causes Model-Glue to append an empty structure with a name of the UUID inside of the seesion on every request.

<cftry>

<cfset session[createUUID()] = "" /> <cfcatch>

<cfset mg.setUseSession(false) />

</cfcatch>

</cftry>

Change History

Changed 20 years ago by joe.rinehart

  • owner changed from somebody to joe.rinehart

Changed 20 years ago by joe.rinehart

  • status changed from new to assigned

Changed 20 years ago by allex.smith@…

  • priority changed from normal to lowest

After talking on the list with Sean, it seems this only happens in development mode, in production this only happens once on framework load.

So, I guess it's not really an issue if you are reloading the framework on every request. Maybe something that could be done would be to write a specific item to the session and just check to see if it exists instead of constantly writting a new blank key every time, of course that would mean more code for something trivial.

Changed 20 years ago by joe.rinehart

  • status changed from assigned to closed
  • resolution set to fixed

(In [192]) Fixes #80

Note: See TracTickets for help on using tickets.