Re: [Zope-dev] SESSION values only refreshing with Shift-reload

2006-09-29 Thread Chris Withers

Hi Tina,

Tina Matter wrote:
I have a basic DTML document that has several input fields on it. 


I'm pretty sure you're looking for the zope@zope.org list ;-)

On my error page (dtml-document), 


Use ZPT instead, or Twiddler when it's out ;-)


However, when I click on that link, my SESSION values are not displaying.  But 
if I press Shift-Reload, I see my values.  Any ideas?


Sounds like IE caching, have you tried using Firefox?


populate_session_vars (This sets the SESSION values based on what was entered on the 
form  ie.   )


, you really need to learn to use Python Scripts ;-)


If anyone knows what is going on, please respond quickly.  I am under a tight 
deadline.


...then pay someone to fix it for you <0.5 wink>

Chris

--
Simplistix - Content Management, Zope & Python Consulting
   - http://www.simplistix.co.uk

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] SESSION values only refreshing with Shift-reload

2006-09-29 Thread Dieter Maurer
Tina Matter wrote at 2006-9-29 06:57 -0700:
>I have a basic DTML document that has several input fields on it.  When the 
>user submits the form, validation occurs and goes to an error page, if need 
>be.  On my error page (dtml-document), there is a link to go back to the 
>previous page to correct your errors.  However, when I click on that link, my 
>SESSION values are not displaying.  But if I press Shift-Reload, I see my 
>values.  Any ideas?

Wheneven something bad happens and vanishes afte a "Shift-Reload",
you probably have a caching problem.

Search for "cache-control" and the a corresponding response
header such that you document will not be cached.



-- 
Dieter
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] SESSION values only refreshing with Shift-reload

2006-09-29 Thread Tina Matter
I have a basic DTML document that has several input fields on it.  When the user submits the form, validation occurs and goes to an error page, if need be.  On my error page (dtml-document), there is a link to go back to the previous page to correct your errors.  However, when I click on that link, my SESSION values are not displaying.  But if I press Shift-Reload, I see my values.  Any ideas?Upon Submitting the first form, here is what happens:populate_session_vars (This sets the SESSION values based on what was entered on the form  ie.   )validate_form (This validates that the required fields are filled in)If there's an error, the user goes to the error page and from there, clicks on a link to go back to the main form to fix their errors (dtml-document).If anyone knows what is going on, please respond quickly. 
 I am under a tight deadline.Thanks so much. 
		 All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )