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

126
Views
Not able to get session data

I am using core session to set data.

$session = Mage::getSingleton("core/session", array("name" => "frontend"));
$session->setData("OTP",'12345');

In another file i am using

$session = Mage::getSingleton("core/session", array("name" => "frontend"));
$session->getData("OTP");

but it's showing blank value.

Please help

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

You can set and get the value in session using :

// Set value in session
Mage::getSingleton('core/session')->setOTP('12345');

// Get value in session
echo Mage::getSingleton('core/session')->getOTP();
over 4 years ago · Santiago Trujillo Report
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!