File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Is it possible? token session Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Is it possible? token session" Watch "Is it possible? token session" New topic
Author

Is it possible? token session

matias casal
Ranch Hand

Joined: Oct 18, 2009
Posts: 61
Hello.
I am developing a java web project and I need to get a token session from a php page.

The url is something like this


The last part changes depending on the session. I dont want to decode it, i only want to take it as RJGNV8SjIA0kamsUjJka24lF2h3GshsS2N

I have proved somethin like and it prints null. I also proved other ways but I cant get it.

Thank you!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60822
    
  65

As it is a request parameter, why would you be looking for it on the session?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
matias casal
Ranch Hand

Joined: Oct 18, 2009
Posts: 61
I also proved request parameter ('token') and nothing.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60822
    
  65

Proved? What's that mean?

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60822
    
  65

By the way, the URL is malformed. The trailing equal signs are not properly encoded.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Bear Bibeault wrote:Proved? What's that mean?


Probably a faulty translation of the Spanish word "probar" meaning "to test", or something like that.
matias casal
Ranch Hand

Joined: Oct 18, 2009
Posts: 61
ugly spanglish.
The url i wrote in my post belongs to an iframe, so what I really need is to take the token value from the url of the iframe.
Is it possible to get the token value finally?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is it possible? token session
 
Similar Threads
How to create ConfirmServlet using a JavaMail / Servlet Mechanism?
Synchronizer Token: for the J2EE pattern book authors ...
Multiple submits and Struts framework
Session expire problem with HttpSessionListener
Showing extra header/feature for MEMBER and GUEST