Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

210
Views
Retrieve JSESSIONID from JavaScript

I'm trying to retrieve JSESSIONID from JavaScript, and I'm getting this kind of problem:

This is my JSESSIONID parameter in cookies:

This is my JSESSIONID parameter in cookies

I'm trying to get it by:

document.cookie.match(new RegExp(name + '=([^;]+)'));

But actually I'm getting undefined, also, trying even by browser console, the document.cookie give me this value:

_ga=GA1.1.1907359526.1634144199; _gid=GA1.1.1178968649.1634144199; _y2=1%3AeyJjIjp7IjE2NjUwOCI6LTE0NzM5ODQwMDAsIjE2NzQyNyI6LTE0NzM5ODQwMDAsIjE2NzQyOCI6LTE0NzM5ODQwMDAsIjE2NzQzNSI6LTE0NzM5ODQwMDAsIjE2ODEyNyI6LTE0NzM5ODQwMDAsIjE2ODc2NCI6LTE0NzM5ODQwMDAsIjE2ODgyNyI6LTE0NzM5ODQwMDAsIjE2ODgzMCI6LTE0NzM5ODQwMDAsIjE2OTIwNiI6LTE0NzM5ODQwMDAsIjE3MDY0MSI6LTE0NzM5ODQwMDAsIjE3MTI4MiI6LTE0NzM5ODQwMDB9fQ%3D%3D%3ALTE5NjU3ODQwMA%3D%3D%3A1; _yi=1%3AeyJsaSI6bnVsbCwic2UiOnsiYyI6MiwiZWMiOjYwLCJsYSI6MTYzNDE0NjkwNjA1MCwicCI6Nywic2MiOjI0Mjl9LCJ1Ijp7ImlkIjoiZGI3NzUwNjUtNjU5MC00ZDU1LWE4ZGEtNGZlODNhZDQyYTY0IiwiZmwiOiIwIn19%3ALTE0MzE4NDYxMTI%3D%3A1

Any suggestions?

P.S. I'm of course in https.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!