You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by insom <da...@gmail.com> on 2008/09/19 21:30:13 UTC
Kill session on closing browser
Does anyone know how a browser would find a pre-existing session after being
closed and reopened? I got a call from a user today who is able to stay
logged in, even after she closes her browser.
I had thought that closing a browser essentially destroys that user's
session (at least from the client's perspective.) I've tested this
elsewhere, and it sends me back to the login screen when I reopen the
browser, the way it's supposed to.
I appreciate any suggestions you've got. I've checked that she isn't using a
URL with a sessionid included. I'm using SWARM for authentication on the
site. Thanks!
--
View this message in context: http://www.nabble.com/Kill-session-on-closing-browser-tp19578217p19578217.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Kill session on closing browser
Posted by Johan Compagner <jc...@gmail.com>.
Normally in IE7 you also reuse the same browser instance for many
things much more then in ie6
But this is all related to a different browser instances or not.. And
todays browsers share it way more then previous generations.
On 9/20/08, insom <da...@gmail.com> wrote:
>
> I see what you're seeing in Firefox. I didn't clarify that the user who
> submitted the issue was using IE7, which is where I got the results
> explained previously. It seems that if I use a shortcut to the URL, or if I
> open a new IE window while logged in, it will find the existing cookie.
> Otherwise, a new window ends up creating a new session.
>
> I know that this conversation is meandering from the realm of Wicket into
> general web application issues. Is it bad form for me to be continuing it
> here in the forum? My own philosophy is that it's better to have the
> information available on the web for others who might need it, even if it is
> off-topic to the stated purpose of the forum.
>
>
> Maarten Bosteels wrote:
>>
>> On Sat, Sep 20, 2008 at 12:45 AM, insom <da...@gmail.com> wrote:
>>>
>>> I figured it out. If you login to the site, then open another window and
>>> visit to the site you will have to login again. But if you login to the
>>> site, then open a shortcut in a new window that goes directly to
>>> http://www.foodhandler.org, you will be already logged in.
>>
>> That's not what I see: when I am logged in (with guest account) in
>> one browser tab, I don't have to in again in other tabs or other
>> browser windows, no matter how I open them.
>> Which is what I expect: the browser (firefox) is sending the
>> JSESSIONID cookie for every request to the site.
>> As soon as I log out in one tab, I am logged out in all tabs and windows.
>>
>> HTH,
>> Maarten
>>
>>
>>>
>>> I have no idea why opening a blank browser window and navigating to the
>>> site
>>> is any different from opening a shortcut to the site directly -- I would
>>> have thought that each would request in the same way, but apparently
>>> that's
>>> not the case.
>>>
>>>
>>> insom wrote:
>>>>
>>>> It turns out she did have another browser window open. I witnessed the
>>>> issue on her machine, but I haven't been able to replicate it on my own.
>>>> I've tried visiting the website, logging in, opening another browser
>>>> window, then closing either the new or the old window (I've tried both
>>>> ways), reopening the browser, and going back to the site -- but it
>>>> always
>>>> sends me back to the login page (which is what I want the site to do,
>>>> but
>>>> I'm concerned about issues that I can't replicate.)
>>>>
>>>> If anyone cares to check it out (and feel under no obligation to -- it's
>>>> not a big issue for anyone except me, who wants to figure this out) you
>>>> can visit the site at www.foodhandler.org and login with username
>>>> guest@guest.com password guest.
>>>>
>>>> Thanks again for your responses -- you're wonderful people!
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Kill-session-on-closing-browser-tp19578217p19580513.html
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/Kill-session-on-closing-browser-tp19578217p19581080.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Kill session on closing browser
Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.
It's fine here I think..
BTW just got the internal error page from your application, so could not
checkout your problem... No messages, so must mean you are deploying in
production mode..
insom wrote:
> I see what you're seeing in Firefox. I didn't clarify that the user who
> submitted the issue was using IE7, which is where I got the results
> explained previously. It seems that if I use a shortcut to the URL, or if I
> open a new IE window while logged in, it will find the existing cookie.
> Otherwise, a new window ends up creating a new session.
>
> I know that this conversation is meandering from the realm of Wicket into
> general web application issues. Is it bad form for me to be continuing it
> here in the forum? My own philosophy is that it's better to have the
> information available on the web for others who might need it, even if it is
> off-topic to the stated purpose of the forum.
>
>
> Maarten Bosteels wrote:
>
>> On Sat, Sep 20, 2008 at 12:45 AM, insom <da...@gmail.com> wrote:
>>
>>> I figured it out. If you login to the site, then open another window and
>>> visit to the site you will have to login again. But if you login to the
>>> site, then open a shortcut in a new window that goes directly to
>>> http://www.foodhandler.org, you will be already logged in.
>>>
>> That's not what I see: when I am logged in (with guest account) in
>> one browser tab, I don't have to in again in other tabs or other
>> browser windows, no matter how I open them.
>> Which is what I expect: the browser (firefox) is sending the
>> JSESSIONID cookie for every request to the site.
>> As soon as I log out in one tab, I am logged out in all tabs and windows.
>>
>> HTH,
>> Maarten
>>
>>
>>
>>> I have no idea why opening a blank browser window and navigating to the
>>> site
>>> is any different from opening a shortcut to the site directly -- I would
>>> have thought that each would request in the same way, but apparently
>>> that's
>>> not the case.
>>>
>>>
>>> insom wrote:
>>>
>>>> It turns out she did have another browser window open. I witnessed the
>>>> issue on her machine, but I haven't been able to replicate it on my own.
>>>> I've tried visiting the website, logging in, opening another browser
>>>> window, then closing either the new or the old window (I've tried both
>>>> ways), reopening the browser, and going back to the site -- but it
>>>> always
>>>> sends me back to the login page (which is what I want the site to do,
>>>> but
>>>> I'm concerned about issues that I can't replicate.)
>>>>
>>>> If anyone cares to check it out (and feel under no obligation to -- it's
>>>> not a big issue for anyone except me, who wants to figure this out) you
>>>> can visit the site at www.foodhandler.org and login with username
>>>> guest@guest.com password guest.
>>>>
>>>> Thanks again for your responses -- you're wonderful people!
>>>>
>>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Kill-session-on-closing-browser-tp19578217p19580513.html
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>>
>
>
--
-Wicket for love
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Kill session on closing browser
Posted by insom <da...@gmail.com>.
I see what you're seeing in Firefox. I didn't clarify that the user who
submitted the issue was using IE7, which is where I got the results
explained previously. It seems that if I use a shortcut to the URL, or if I
open a new IE window while logged in, it will find the existing cookie.
Otherwise, a new window ends up creating a new session.
I know that this conversation is meandering from the realm of Wicket into
general web application issues. Is it bad form for me to be continuing it
here in the forum? My own philosophy is that it's better to have the
information available on the web for others who might need it, even if it is
off-topic to the stated purpose of the forum.
Maarten Bosteels wrote:
>
> On Sat, Sep 20, 2008 at 12:45 AM, insom <da...@gmail.com> wrote:
>>
>> I figured it out. If you login to the site, then open another window and
>> visit to the site you will have to login again. But if you login to the
>> site, then open a shortcut in a new window that goes directly to
>> http://www.foodhandler.org, you will be already logged in.
>
> That's not what I see: when I am logged in (with guest account) in
> one browser tab, I don't have to in again in other tabs or other
> browser windows, no matter how I open them.
> Which is what I expect: the browser (firefox) is sending the
> JSESSIONID cookie for every request to the site.
> As soon as I log out in one tab, I am logged out in all tabs and windows.
>
> HTH,
> Maarten
>
>
>>
>> I have no idea why opening a blank browser window and navigating to the
>> site
>> is any different from opening a shortcut to the site directly -- I would
>> have thought that each would request in the same way, but apparently
>> that's
>> not the case.
>>
>>
>> insom wrote:
>>>
>>> It turns out she did have another browser window open. I witnessed the
>>> issue on her machine, but I haven't been able to replicate it on my own.
>>> I've tried visiting the website, logging in, opening another browser
>>> window, then closing either the new or the old window (I've tried both
>>> ways), reopening the browser, and going back to the site -- but it
>>> always
>>> sends me back to the login page (which is what I want the site to do,
>>> but
>>> I'm concerned about issues that I can't replicate.)
>>>
>>> If anyone cares to check it out (and feel under no obligation to -- it's
>>> not a big issue for anyone except me, who wants to figure this out) you
>>> can visit the site at www.foodhandler.org and login with username
>>> guest@guest.com password guest.
>>>
>>> Thanks again for your responses -- you're wonderful people!
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Kill-session-on-closing-browser-tp19578217p19580513.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Kill-session-on-closing-browser-tp19578217p19581080.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Kill session on closing browser
Posted by Maarten Bosteels <mb...@gmail.com>.
On Sat, Sep 20, 2008 at 12:45 AM, insom <da...@gmail.com> wrote:
>
> I figured it out. If you login to the site, then open another window and
> visit to the site you will have to login again. But if you login to the
> site, then open a shortcut in a new window that goes directly to
> http://www.foodhandler.org, you will be already logged in.
That's not what I see: when I am logged in (with guest account) in
one browser tab, I don't have to in again in other tabs or other
browser windows, no matter how I open them.
Which is what I expect: the browser (firefox) is sending the
JSESSIONID cookie for every request to the site.
As soon as I log out in one tab, I am logged out in all tabs and windows.
HTH,
Maarten
>
> I have no idea why opening a blank browser window and navigating to the site
> is any different from opening a shortcut to the site directly -- I would
> have thought that each would request in the same way, but apparently that's
> not the case.
>
>
> insom wrote:
>>
>> It turns out she did have another browser window open. I witnessed the
>> issue on her machine, but I haven't been able to replicate it on my own.
>> I've tried visiting the website, logging in, opening another browser
>> window, then closing either the new or the old window (I've tried both
>> ways), reopening the browser, and going back to the site -- but it always
>> sends me back to the login page (which is what I want the site to do, but
>> I'm concerned about issues that I can't replicate.)
>>
>> If anyone cares to check it out (and feel under no obligation to -- it's
>> not a big issue for anyone except me, who wants to figure this out) you
>> can visit the site at www.foodhandler.org and login with username
>> guest@guest.com password guest.
>>
>> Thanks again for your responses -- you're wonderful people!
>>
>
> --
> View this message in context: http://www.nabble.com/Kill-session-on-closing-browser-tp19578217p19580513.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Kill session on closing browser
Posted by insom <da...@gmail.com>.
I figured it out. If you login to the site, then open another window and
visit to the site you will have to login again. But if you login to the
site, then open a shortcut in a new window that goes directly to
http://www.foodhandler.org, you will be already logged in.
I have no idea why opening a blank browser window and navigating to the site
is any different from opening a shortcut to the site directly -- I would
have thought that each would request in the same way, but apparently that's
not the case.
insom wrote:
>
> It turns out she did have another browser window open. I witnessed the
> issue on her machine, but I haven't been able to replicate it on my own.
> I've tried visiting the website, logging in, opening another browser
> window, then closing either the new or the old window (I've tried both
> ways), reopening the browser, and going back to the site -- but it always
> sends me back to the login page (which is what I want the site to do, but
> I'm concerned about issues that I can't replicate.)
>
> If anyone cares to check it out (and feel under no obligation to -- it's
> not a big issue for anyone except me, who wants to figure this out) you
> can visit the site at www.foodhandler.org and login with username
> guest@guest.com password guest.
>
> Thanks again for your responses -- you're wonderful people!
>
--
View this message in context: http://www.nabble.com/Kill-session-on-closing-browser-tp19578217p19580513.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Kill session on closing browser
Posted by insom <da...@gmail.com>.
It turns out she did have another browser window open. I witnessed the issue
on her machine, but I haven't been able to replicate it on my own. I've
tried visiting the website, logging in, opening another browser window, then
closing either the new or the old window (I've tried both ways), reopening
the browser, and going back to the site -- but it always sends me back to
the login page (which is what I want the site to do, but I'm concerned about
issues that I can't replicate.)
If anyone cares to check it out (and feel under no obligation to -- it's not
a big issue for anyone except me, who wants to figure this out) you can
visit the site at www.foodhandler.org and login with username
guest@guest.com password guest.
Thanks again for your responses -- you're wonderful people!
Matej Knopp-2 wrote:
>
> Either the browser doesn't kill cookie on close or she has cookies
> disabled,
> had url with session id encoded and returned back to that url while the
> session was still active server side.
>
> -Matej
>
> On Fri, Sep 19, 2008 at 9:34 PM, James Carman
> <ja...@carmanconsulting.com>wrote:
>
>> Are they closing all instances of the browser?
>>
>> On Fri, Sep 19, 2008 at 3:30 PM, insom <da...@gmail.com> wrote:
>> >
>> > Does anyone know how a browser would find a pre-existing session after
>> being
>> > closed and reopened? I got a call from a user today who is able to stay
>> > logged in, even after she closes her browser.
>> >
>> > I had thought that closing a browser essentially destroys that user's
>> > session (at least from the client's perspective.) I've tested this
>> > elsewhere, and it sends me back to the login screen when I reopen the
>> > browser, the way it's supposed to.
>> >
>> > I appreciate any suggestions you've got. I've checked that she isn't
>> using a
>> > URL with a sessionid included. I'm using SWARM for authentication on
>> the
>> > site. Thanks!
>> > --
>> > View this message in context:
>> http://www.nabble.com/Kill-session-on-closing-browser-tp19578217p19578217.html
>> > Sent from the Wicket - User mailing list archive at Nabble.com.
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> > For additional commands, e-mail: users-help@wicket.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Kill-session-on-closing-browser-tp19578217p19579928.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Kill session on closing browser
Posted by Matej Knopp <ma...@gmail.com>.
Either the browser doesn't kill cookie on close or she has cookies disabled,
had url with session id encoded and returned back to that url while the
session was still active server side.
-Matej
On Fri, Sep 19, 2008 at 9:34 PM, James Carman <ja...@carmanconsulting.com>wrote:
> Are they closing all instances of the browser?
>
> On Fri, Sep 19, 2008 at 3:30 PM, insom <da...@gmail.com> wrote:
> >
> > Does anyone know how a browser would find a pre-existing session after
> being
> > closed and reopened? I got a call from a user today who is able to stay
> > logged in, even after she closes her browser.
> >
> > I had thought that closing a browser essentially destroys that user's
> > session (at least from the client's perspective.) I've tested this
> > elsewhere, and it sends me back to the login screen when I reopen the
> > browser, the way it's supposed to.
> >
> > I appreciate any suggestions you've got. I've checked that she isn't
> using a
> > URL with a sessionid included. I'm using SWARM for authentication on the
> > site. Thanks!
> > --
> > View this message in context:
> http://www.nabble.com/Kill-session-on-closing-browser-tp19578217p19578217.html
> > Sent from the Wicket - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: Kill session on closing browser
Posted by James Carman <ja...@carmanconsulting.com>.
Are they closing all instances of the browser?
On Fri, Sep 19, 2008 at 3:30 PM, insom <da...@gmail.com> wrote:
>
> Does anyone know how a browser would find a pre-existing session after being
> closed and reopened? I got a call from a user today who is able to stay
> logged in, even after she closes her browser.
>
> I had thought that closing a browser essentially destroys that user's
> session (at least from the client's perspective.) I've tested this
> elsewhere, and it sends me back to the login screen when I reopen the
> browser, the way it's supposed to.
>
> I appreciate any suggestions you've got. I've checked that she isn't using a
> URL with a sessionid included. I'm using SWARM for authentication on the
> site. Thanks!
> --
> View this message in context: http://www.nabble.com/Kill-session-on-closing-browser-tp19578217p19578217.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org