Is that really an issue? I mean, in a production environment you would
probably shut down your site and clear all sessions anyway before you
move to the new code.

Cheers,
Georg


Thomas Rabaix schrieb:
> CO2, let's imagine the situation :
>  - you store an object in the session
>  - then you refactore your code by renaming the class
>  - the next time the user connect to your site, the class does not
> exists anymore
>  - and you get a silent error !
> 
> Hope it make sense.
> Thomas
> 
> On Tue, Mar 4, 2008 at 3:45 PM, CO2 <[EMAIL PROTECTED]> wrote:
>>  You can add objects to php sessions as well. I don't get it why the
>>  symfony docs tell you not to do it because it's quite simple when
>>  adding the object which is displayed in the form to the session.
>>
>>
>>
>>  On 4 Mrz., 13:27, Sumedh <[EMAIL PROTECTED]> wrote:
>>  > So Lee...
>>  >
>>  > When you submit a tab and move to next step of the wizard...you
>>  > maintain the field values in session manually, by code? every field
>>  > set as a session attribute with a different key? :|
>>  >
>>  > On Mar 4, 4:10 pm, "Lee Bolding" <[EMAIL PROTECTED]> wrote:
>>  >
>>  > > I'm not entirely sure I agree with that.
>>  >
>>  > > Usability in that sense is subjective - to an able bodied person, yes.
>>  >
>>  > > At the moment I'm involved with a lot of usability stuff for disabled 
>> people
>>  > > - JS validation is often a usability anti-pattern when combined with a
>>  > > screen reader. I'm happy to trade off some server performance for a
>>  > > better/consistent experience for all users.
>>  >
>>  > > -----Original Message-----
>>  > > From: symfony-users@googlegroups.com [mailto:[EMAIL PROTECTED]
>>  >
>>  > > On Behalf Of Ian P. Christian
>>  > > Sent: 04 March 2008 10:36
>>  > > To: symfony-users@googlegroups.com
>>  > > Subject: [symfony-users] Re: Putting forms in session
>>  >
>>  > > Lee Bolding wrote:
>>  >
>>  > > > I don't know about JS validation, I don't use it for the above 
>> reasons...
>>  > > > (can anybody give me an instance where JS validation *IS* useful?)
>>  >
>>  > > Improving usability. Obviously you should ever rely on it, but it saves
>>  > > a roundtrip to the server to validate, therefore improving livliness,
>>  > > and reducing server load.
>>  >
>>
> 
> > 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to