shawn -- i never saw those extra values in the cache-control tag before. thanks for da tip.
there's always ONE client who gets the cached-login problem regardless of tag-based fixes, so we still use javascript where we can to solve this kind of issue for lots of forms including login. brendan avery 2.0 - [EMAIL PROTECTED] - 310.779.2211 412 rose ave, suite c - venice beach, california 90291 ..providing word solutions to your mother, since 1975 on Thursday, April 11, 2002, 4:43:29 PM, you wrote: SG> If it's a caching issue, then why not just turn off the caching? SG> These lines of code will do it: SG> <CFHEADER NAME="Expires" VALUE="1/1/80"> SG> <cfheader name="Cache-Control" value="NO-CACHE, NO-STORE, MUST-REVALIDATE"> SG> <cfheader name="Last-Modified" value="#dateformat(now(),"ddd, dd mmm yyyy")# SG> #timeformat(now(), "HH:mm:ss")# GMT"> SG> They will prevent caching (in most cases) at the client browser, and at any SG> intervening proxies. SG> HTH SG> Shawn Grover SG> -----Original Message----- SG> From: Brendan Avery [mailto:[EMAIL PROTECTED]] SG> Sent: Thursday, April 11, 2002 5:17 PM SG> To: CF-Talk SG> Subject: Re: Odd can't log in behavior SG> hey Janine, SG> i didn't see if anyone responded to your question, but in case they SG> didn't, my guess is it's a browser cache issue; for all our sites that SG> use forms which post commonly repeated information (like login SG> and lookup forms) we use javascript to generate an additional value SG> (usually in a hidden form field) when the form is submit, (usually SG> just a random number or a timestamp) to ensure that the SG> browser is always requesting a new page -- because browsers will SG> sometimes not actually even re-post information if it matches a cached SG> result. if you can't use javascript for whatever reason, i would SG> suggest that you don't do cflocations for login errors, because that SG> process is often the culprit in these kinds of affairs. hope that SG> helps you! SG> brendan avery 2.0 - [EMAIL PROTECTED] - 310.779.2211 SG> 412 rose ave, suite c - venice beach, california 90291 SG> .providing word solutions to your mother, since 1975 SG> on Monday, April 8, 2002, 8:24:23 AM, you wrote: JJ>> I have a login page- first it checks the user/password. If there is no SG> match JJ>> it sends the user back to the login page with a message... JJ>> If there is a match it checks what group the user is in and what quarter JJ>> they should have access to. (Current quarter or past quarters). It is SG> only JJ>> on occassion that a user needs access to a past quarter so by default SG> they JJ>> are set to current quarter. JJ>> If a user is in current quarter all is fine. JJ>> I'm having a situation where when a user is given access to a past SG> quarter JJ>> they can't log in at all- they get kicked back to the login page with a JJ>> message! But the oddest part is that it works fine from any of my test JJ>> machines (I have 3 that I use)- I can log in as this user and see her SG> info. JJ>> However, she can't and we know it isn't a matter of mistyping the SG> password. JJ>> I set her back to current quarter access- still no luck she can't get SG> in. JJ>> We finally changed her password and she finally got back in. Here's my SG> cfif JJ>> statement to set the path...I don't know if that's the problem or where SG> else JJ>> to look! JJ>> Thanks in advance JJ>> <CFIF GroupCheck.GrID EQ 1 AND (GroupCheck.OpenQuarter EQ "" OR JJ>> GroupCheck.OpenQuarter EQ "0")> JJ>> <CFINCLUDE TEMPLATE="url_EditGrades.cfm"> JJ>> <CFELSEIF GroupCheck.GrID EQ 1 AND ((GroupCheck.OpenQuarter EQ "1")OR JJ>> (GroupCheck.OpenQuarter EQ "2") Or (GroupCheck.OpenQuarter EQ "3")) >>> JJ>> <CFINCLUDE TEMPLATE="url_EditGradesOtherQuarters.cfm"> JJ>> SG> ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists