You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by st...@wachovia.com on 2005/03/18 00:49:43 UTC

session/visit mismanagement ?

I'm having a problem that I could use some help with. If I log into my 
Tapestry app as user A. Do a ctrl-n in IE to bring up another browser 
window. Log out of the app in the second window. Log in as user B. 

Now I click a link in the first window, (supposed to still be user A), 
user B's user info is presented. 


What am I doing wrong? Where is the appropriate place to fix this 
behavior? If someone can supply a technical Tapestry explanation of whats 
happening, I'd appreciate it. I know that I'm grabbing the user info from 
Visit, so the two windows are using the same instance of Visit?

Thanks.

Re: display image Contrib:Table

Posted by Kent Tong <ke...@cpttm.org.mo>.
Sunil <sunilosunil <at> hotmail.com> writes:

> I m displaying list of Items let's say. I want to put a column which display 
> some image by clicking which u can select that item. I mean which is a 
> direct link which invoke some listeners on that row.

If your column's id is "foo", then define a Block component
with id "fooColumnValue". Then the Table component to render
your Block to show the value of the foo column.
See the doc of the Table component for an example.


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


display image Contrib:Table

Posted by Sunil <su...@hotmail.com>.
Hi all..

I want to display image in one of the column of the table. I m using 
Contrib:Table component.

I m displaying list of Items let's say. I want to put a column which display 
some image by clicking which u can select that item. I mean which is a 
direct link which invoke some listeners on that row.

Can anybody help me how can i do it using Table componenet.

Sunil 

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: session/visit mismanagement ?

Posted by Paul Ferraro <pm...@columbia.edu>.
If you don't like that behavior, you can change your servlet engine's 
configuration so that it stores the user's session ID in the url, rather 
than in a cookie.

Paul

Ron Piterman wrote:

> Yes, they share the same session and thus the same visit. I think its 
> because they share the same cookies -
> if you open firefox as second window it will not happen.
>
> but try doing that on ebay - it will be the same.
>
>
> ציטוט steven.libonati@wachovia.com:
>
>> I'm having a problem that I could use some help with. If I log into 
>> my Tapestry app as user A. Do a ctrl-n in IE to bring up another 
>> browser window. Log out of the app in the second window. Log in as 
>> user B.
>> Now I click a link in the first window, (supposed to still be user 
>> A), user B's user info is presented.
>>
>> What am I doing wrong? Where is the appropriate place to fix this 
>> behavior? If someone can supply a technical Tapestry explanation of 
>> whats happening, I'd appreciate it. I know that I'm grabbing the user 
>> info from Visit, so the two windows are using the same instance of 
>> Visit?
>>
>> Thanks.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: session/visit mismanagement ?

Posted by Ron Piterman <mp...@vollbio.de>.
Yes, they share the same session and thus the same visit. I think its 
because they share the same cookies -
if you open firefox as second window it will not happen.

but try doing that on ebay - it will be the same.


ציטוט steven.libonati@wachovia.com:
> I'm having a problem that I could use some help with. If I log into my 
> Tapestry app as user A. Do a ctrl-n in IE to bring up another browser 
> window. Log out of the app in the second window. Log in as user B. 
> 
> Now I click a link in the first window, (supposed to still be user A), 
> user B's user info is presented. 
> 
> 
> What am I doing wrong? Where is the appropriate place to fix this 
> behavior? If someone can supply a technical Tapestry explanation of whats 
> happening, I'd appreciate it. I know that I'm grabbing the user info from 
> Visit, so the two windows are using the same instance of Visit?
> 
> Thanks.



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: session/visit mismanagement ?

Posted by li...@wachovia.com.
Using ctr-N will create a window share the same session as parent window, 
should tell user not to open a new window by this way.
In reality, this almost never happen for two different users
Anyway, in the past, ctr-N is forbidden.



steven.libonati@wachovia.com 
03/17/2005 06:49 PM

Please respond to
"Tapestry users" <ta...@jakarta.apache.org>


To
tapestry-user@jakarta.apache.org
cc

Subject
session/visit mismanagement ?






I'm having a problem that I could use some help with. If I log into my 
Tapestry app as user A. Do a ctrl-n in IE to bring up another browser 
window. Log out of the app in the second window. Log in as user B. 

Now I click a link in the first window, (supposed to still be user A), 
user B's user info is presented. 


What am I doing wrong? Where is the appropriate place to fix this 
behavior? If someone can supply a technical Tapestry explanation of whats 
happening, I'd appreciate it. I know that I'm grabbing the user info from 
Visit, so the two windows are using the same instance of Visit?

Thanks.
ForwardSourceID:NT0001FA4A