Thanks Kym for your suggestion.

You wouldn't believe what I had to do to get this to work:
I had to write a wrapper around the code I wanted protected that
called the code with  domain.com.au/page.cfm?x=#rand()# with a
cflocation tag.

This even works when the IE setting is at "Check for newer versions of
stored pages" is set to Never.

Surely I must be doing something wrong and theres got to be a better
way of making sure pages are not cached locally which seems to be my
problem when trying to read session variables.

Help!!!!

Best Regards,
WayGee


Hello Kym,

Friday, December 29, 2000, 12:19:11 AM, you wrote:


>>1.  Goto functional page, (read session vars, redirects me to login page)
>>2.  I login, set session vars, login=true
>>3.  Goto page again, (and it doesnt read the current changed session vars)
>>
>>On step 3, if I hit shift-reload, then it reads the correct values.
>>
>>In IE 5, if I set the Settings "Check for newer version of stored
>>pages" to "Every visit to the page"  then the application works
>>properly.

KK> If you are developing on a local machine, or even the same one as the 
KK> server, it is good practice to set the browser to check every time, that 
KK> way you always see what you write :-)

KK> In the bigger world you have to force refreshes as you are going to bump 
KK> into proxy servers and caches that don't seem to be aware that .cfm 
KK> extensions are dynamic and cache the pages. One standard trick is to put a 
KK> dummy url variable in, domain.com.au/page.cfm?x=1, so that the cache/proxy 
KK> thinks it is a cgi type page and gets a fresh version.



KK> --

KK> Yours,

KK> Kym


KK>
~~~~~~~~~~~~~ Paid Sponsorship ~~~~~~~~~~~~~
Get Your Own Dedicated Win2K Server!      Instant Activation for $99/month w/Free 
Setup from SoloServer      PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support     
 Visit SoloServer, https://secure.irides.com/clientsetup.cfm.

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to