1. When i have a webpage open and i change a source javascript file, then
refresh the site and attach to IExplorer process, sometimes the old js code
is running that i hook into (i set a breakpoint in the source file and then
it puts a breakpoint in the running file and i see the code is the old
code).
2. i tried to clear out the temporary asp.net directory but got file acces
permissions.
how do i do 1 & 2?
thanks
You need to restart your application, and you need to close the browser and
open a new browser window.
This always works for me.

Signature
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
> 1. When i have a webpage open and i change a source javascript file, then
> refresh the site and attach to IExplorer process, sometimes the old js
[quoted text clipped - 11 lines]
>
> thanks
Steven Cheng[MSFT] - 08 Jun 2007 08:15 GMT
Hi TS,
You can also try configure the IE browser to always refresh for new version
when visit a page or resource item via the following steps:
1. in IE, choose "tools-->internet options" menu item
2. in the dialog, choose "General" tab
3. in the tab, under " Browsing history" section, click the "Settings"
button
4. in the popup setting dialog, select "Every time I visit the webpage" for
the "Check for newer versions of stored pages" option.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
TS - 08 Jun 2007 13:44 GMT
that worked. Here i was resetiis and clear temp folders and still couldnt'
get it.
thanks
> You need to restart your application, and you need to close the browser and
> open a new browser window.
[quoted text clipped - 15 lines]
> >
> > thanks
Göran Andersson - 09 Jun 2007 10:52 GMT
> that worked. Here i was resetiis and clear temp folders and still couldnt'
> get it.
Clearing the temp folder also works. You just have to clear the correct
one. ;)

Signature
Göran Andersson
_____
http://www.guffa.com
> 1. When i have a webpage open and i change a source javascript file, then
> refresh the site and attach to IExplorer process, sometimes the old js code
[quoted text clipped - 8 lines]
>
> thanks
The Javascript file is cached in the browser, not in the temporary
ASP.NET directory. Clear the internet cache and reload the page.

Signature
Göran Andersson
_____
http://www.guffa.com