Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is it possible? token session

 
matias casal
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64970
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As it is a request parameter, why would you be looking for it on the session?
 
matias casal
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I also proved request parameter ('token') and nothing.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64970
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Proved? What's that mean?

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64970
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By the way, the URL is malformed. The trailing equal signs are not properly encoded.
 
Paul Clapham
Sheriff
Posts: 21129
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic