aspose file tools*
The moose likes Servlets and the fly likes Generating a new session id for a user Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Generating a new session id for a user" Watch "Generating a new session id for a user" New topic
Author

Generating a new session id for a user

Victor Dolirio
Ranch Hand

Joined: Aug 21, 2008
Posts: 57
Hi ranchers,

I�ve got a problem in my work, and I take a google looking for a solution, I�ve found this discurssion: http://afongen.com/blog/2006/08/01/generate-new-session-id-in-java-ee/. My problem is a little different but if there are a solution for the problem discussed by these guys my problem can be resolved too. There are some way to generate a jsessionid? even more, there are some way to generate a jsessionid specified by me?

Thanks all


If happen something bad in you life, don't ask God why it happened. Ask for what.
SCJP 5 (80%) - SCWCD 5 (91%) - SCBCD & SCJD coming soon...
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61654
    
  67

Why does not simply invalidating the current session work for you?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30938
    
158

Originally posted by Victor Dolirio Ferreira Barbosa:
I�ve got a problem in my work

Why don't you describe the actual problem a bit? Maybe there is another solution that will help and someone here could suggest it.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Victor Dolirio
Ranch Hand

Joined: Aug 21, 2008
Posts: 57
Well, actually I�ve seen that I�m using a wrong approach causing a strange trouble, I�ll try another approach by now... anyway thanks for all your regard.
[ August 28, 2008: Message edited by: Victor Dolirio Ferreira Barbosa ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Generating a new session id for a user