[OpenSTA-devel] [ opensta-Bugs-1752655 ] Cookies repeatedly set by Web app use different variables
Brought to you by:
dansut
|
From: SourceForge.net <no...@so...> - 2007-07-17 15:47:59
|
Bugs item #1752655, was opened at 2007-07-12 09:57 Message generated for change (Comment added) made by dansut You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110857&aid=1752655&group_id=10857 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: HTTP Capture Group: Inconvenience Status: Open >Resolution: Fixed Priority: 3 Private: No Submitted By: Daniel Sutcliffe (dansut) Assigned to: Daniel Sutcliffe (dansut) Summary: Cookies repeatedly set by Web app use different variables Initial Comment: When a Web application repeatedly sets a Cookie (it doesn't matter if it is to the same value or a different value) then the created SCL will use a new defined SCL variable for each Set-Cookie. Although the created code works fine it makes the scripts longer, overcomplicated and wastes the memory associated with the SCL Cookie variables. It would be much better for the generated code to realize a previously set Cookie is being reset and simply use the old variable to store the new Cookie value. ---------------------------------------------------------------------- >Comment By: Daniel Sutcliffe (dansut) Date: 2007-07-17 11:47 Message: Logged In: YES user_id=19748 Originator: YES A fix for this issue has been merged into the CVS HEAD. It will become generally available in the OpenSTA 1.4.4 release. gwhttp.dll: 1.4.4.7 OpenSTA: 1.4.4.9 The fix involved checking to see if the same named Cookie had been set before and if so reusing that variable rather than creating and declaring a new one during TOF generation in the Gateway. Static/CONSTANT Cookies will still always use a new variable for every time they change - although if they are changing that means they are changing using some other method than a HTTP Set-Cookie header ... See this FAQ for more information: http://portal.opensta.org/faq.php?topic=RecordingCookies ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110857&aid=1752655&group_id=10857 |