Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2006

Tip: Looking for answers? Try searching our database.

Session Tracking Problem

Thread view: 
Johnny - 28 Oct 2006 12:04 GMT
If the explorer don't support cookie or turn it off, and I don't want
to use URL rewriting, cos there is jsessionid behind the url.

Is there some way else to manage session?

thx advance!

ooh, i forget, Javascript does not support either
Jeffrey H. Coffield - 28 Oct 2006 17:24 GMT
> If the explorer don't support cookie or turn it off, and I don't want
> to use URL rewriting, cos there is jsessionid behind the url.
[quoted text clipped - 4 lines]
>
> ooh, i forget, Javascript does not support either

The only other way I know is to have all pages be a POST and put a
hidden field with the session id in each form. I did this for one site
because earlier browsers didn't manage cookies correctly when you needed
a different session id for simultaneous multiple browser windows.

Jeff Coffield
Johnny - 28 Oct 2006 17:53 GMT
On Oct 29, 12:24 am, "Jeffrey H. Coffield"
<jeff...@digitalsynergyinc.com> wrote:
> > If the explorer don't support cookie or turn it off, and I don't want
> > to use URL rewriting, cos there is jsessionid behind the url.
[quoted text clipped - 9 lines]
>
> Jeff Coffield

Jeff

thank you very much.

I have seen few websites which have jsessionid parameter append to the
url if i turn cookies off.  I am not sure how many session objectes of
uniqe user can supported by servlet container. Is there risky for using
session.  So is there a way for session tracking without jsp itself
tech.

Like generating a pseudorandom number as sessionid, which can be an
identifier for saving data of a user. then i can save these data
whatever i want. Of course, I do need to appened this sessionid to
every link.

Is that way okay? Or there is an other common technique.

I need your experience and advice.

Regards.

Johnny
adwords@pulpjava.com - 29 Oct 2006 01:50 GMT
The other two ways I know of is to embed the id in a hidden field,
which isn't supported by WebSphere, or to use SSL encoding of the
JSession ID, but for that, you need to be using SSL, and from what I
understand, it's only supported with SunOne Web Server and Apache/IBM
Http Server.

Cheers!

-Cameron McKenzie
Author of What is WebSphere? www.pulpjava.com

Free Java Tutorials at www.mcnz.com
Free SCJA and Java Mock Certification Exams: www.scja.com

www.cameronmckenzie.com www.technicalfacilitation.com

> If the explorer don't support cookie or turn it off, and I don't want
> to use URL rewriting, cos there is jsessionid behind the url.
[quoted text clipped - 4 lines]
>
> ooh, i forget, Javascript does not support either
Johnny - 29 Oct 2006 06:06 GMT
Hi Friends

Is it a good way for session tracking.

http://www.onjava.com/pub/a/onjava/2001/03/01/pseudo_sessions.html?page=1

Regards

Johnny


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.