Session Management
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Hai,
Want to give a example,before i put forth my question
if i sign into yahoo through IE..
and then if i try to open other tab or new window int same browser( IE only)
then second time it will not ask for
log in rather it will pick the values from session and log in directly
so this causes,user can not log into yahoo with the same browser with 2 ids..
now my question is how do i go about this.
I want the same feature in my application
i have not worked with this before
..
i don't even no what term should i give for this sort of session handling
.
Thanks in advance,
crs
Want to give a example,before i put forth my question
if i sign into yahoo through IE..
and then if i try to open other tab or new window int same browser( IE only)
then second time it will not ask for
log in rather it will pick the values from session and log in directly
so this causes,user can not log into yahoo with the same browser with 2 ids..
now my question is how do i go about this.
I want the same feature in my application
i have not worked with this before
.. i don't even no what term should i give for this sort of session handling
. Thanks in advance,
crs
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Dear Friends,
Me too want to know about Session Management,Please give a detailed explanation.
Thanks in Advance.
Regards,
Senthamil Bharathi.S
Me too want to know about Session Management,Please give a detailed explanation.
Thanks in Advance.
Regards,
Senthamil Bharathi.S
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Hi,
In my sense yahoo people are using the cookies to pass the information from one tab to another.
In my sense yahoo people are using the cookies to pass the information from one tab to another.
SCJP 5.0(84%), SCWCD 5.0(97%), SCDJWS 5.0(98%)
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Cookies are used for session management, but don't "pass information" between tabs. In addition, different browsers handle new windows in different ways: some create new sessions, some maintain the original.
sindhu sheela
Greenhorn
Posts: 26
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
if that is the case,please let me know how can i restrict the user from logging in to the application with a different id.I mean if the user has logged in with log in name "A", until he logs out he can not log in with a different log in name.
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Log them out before logging them in.
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
"Sindhu CR", please check your private messages for an important administrative matter.
sindhu sheela
Greenhorn
Posts: 26
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Hey,
Thanks for the reply,
but i don't want to log off the first user but second log in to the same url is not provided.
Thank you
Thanks for the reply,
but i don't want to log off the first user but second log in to the same url is not provided.
Thank you
posted 14 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Sorry for the reply if its too late..
And here goes my song...
Create a web project...and then, create a jsp ... type in ${pageContext.session.id}..nothing else.....
Run the Project...
On calling the jsp page in your browser..you would see the session id.
Try the links in a new tab in same browser...same session id??
Now another browser ...different session id??? another browser one more tab ?? same id???
You should understand by now...how the session is being maintained...at browser level...
If you maintain the user id in session...that would be enough for you to recollect his information even if the link is opened in new tab..
And last but not least.....YAHOO will not bring the same home page for you if you login using IE and open the new link in firefox......You will come to know this once you are clear with the above...
And here goes my song...
Create a web project...and then, create a jsp ... type in ${pageContext.session.id}..nothing else.....
Run the Project...
On calling the jsp page in your browser..you would see the session id.
Try the links in a new tab in same browser...same session id??
Now another browser ...different session id??? another browser one more tab ?? same id???
You should understand by now...how the session is being maintained...at browser level...
If you maintain the user id in session...that would be enough for you to recollect his information even if the link is opened in new tab..
And last but not least.....YAHOO will not bring the same home page for you if you login using IE and open the new link in firefox......You will come to know this once you are clear with the above...
| All of the following truths are shameless lies. But what about this tiny ad: The new gardening playing cards kickstarter is now live! https://www.kickstarter.com/projects/paulwheaton/garden-cards |













