Yah, I'm on Firefox. I hadn't actually realized that IE's "Open in
New Window" spawned a new session, but if that's the case, that probably
explains why other folks haven't run into this before. With a new session in
every tab, the persistence problem I ran into wouldn't have hit.

        Firefox though lets you have multiple copies of the same page up,
all within the same session, and I'm starting to think that model is
incompatible with Tapestry 3.0's persistence strategy. It probably worked
fine when everyone was on IE, but maybe Firefox has broken it?

        One of the dev's will probably know for sure, but I'm leaning
towards that particular theory at the moment.

        For what it's worth a good workaround I found was to hide a hidden
key at the *top* of all my forms. Then when it gets set back during rewind
(it'll set first because it's on top), have *its* setter method bootstrap
the page back into the state you need it in for all the rest of the fields
to come back.

        Basically I now have my own static HashMap of page-persistent states
and send out a key with every form I generate. It's inelegant and not what
I'd recommend as a long term architecture, but it's working for now.

        --- Pat


> -----Original Message-----
> From: Bryan Lewis [mailto:[EMAIL PROTECTED]
> Sent: Saturday, May 07, 2005 1:37 PM
> To: Tapestry users
> Subject: Re: Multiple Instances of the Same Page and Persistence
> 
> I don't have an answer for you, but I came across a similar problem a few
> days ago with Firefox.  I assume it's Firefox since you mentioned opening
> a
> new tab.
> 
> When I access our site I get auto-logged-in with a cookie and get a new
> session as expected.  If I open a new tab and repeat the same URL, I get
> another view onto the *same* session.  No new login.  I can easily
> reproduce
> the nasty behavior you're seeing, without being as tricky as right-
> clicking
> a link to open it in a new tab.
> 
> In fact if I start another instance of Firefox (a new browser window, not
> a
> tab) the same thing happens.  Doing this in IE starts a new session.  I've
> done a little googling and found another user complaining about this but
> no
> quick fixes.  Hoping someone else in this list has some expeirence with
> this.
> 
> 
<snip>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to