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

308
Views
Las variables $_SESSION no funcionan en la segunda página

He creado una sesión en mi primera página:

 <?php $youtubeID = get_sub_field('youtube_id'); $withlastSlash = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; $withoutSlash = substr_replace($withlastSlash, "", -1); $howtoURL = $withoutSlash . "?a=" . $youtubeID; session_start(); $_SESSION['howtovidsurl'] = $howtoURL; ?>

Luego llamé a las variables de sesión en mi segunda página.

 <?php session_start(); echo $_SESSION['howtovidsurl']; ?>

Pero nada se repite en la segunda página.

over 4 years ago · Santiago Trujillo
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!