473,387 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Prado: Set and load cookies

Note: This message is about the Prado framework, if you don't know what
it is you most certainly can't answer my question.

Hi,

I have this code:

$cookies = $this->Response->getCookies();
$cookie = new THttpCookie("RememberLogin", $login_data);
$cookies[] = $cookie;

Do I need to call some kind of "load" method, before loading a cookie
in
another request? Because I have this in my OnPreRender():

$cookies = $this->Response->getCookies();
$cookie =
this->Response->getCookies()->findCookieByName("RememberLogin");
var_dump($cookie);

If I run the request that creates the cookie in the same request I get
the cookie data, but if I then refresh the page without setting the
cookie it says:

NULL

Regards,
Albert Peschar

Sep 29 '06 #1
0 1032

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Qiang Xue | last post by:
We are pleased to announce that PRADO version 3.0.2 is formally released! Version 3.0.2 is a maintenance release of PRADO 3.0, which mainly contains bug fixes and minor enhancements and features. ...
0
by: Qiang Xue | last post by:
We are pleased to announce that PRADO version 3.0.3 is formally released! Version 3.0.3 is a maintenance release over the previous PRADO 3.0.2 release. More than ten bugs were fixed in this release...
0
by: Qiang Xue | last post by:
We are proud to announce the ALPHA release of PRADO 3.1.0. This is the result of nearly nine months of hard work from the PRADO Group and represents a major milestone in the PRADO development. We...
0
by: Qiang Xue | last post by:
We are proud to announce the BETA release of PRADO 3.1.0. This is the result of nearly one year of hard work from the PRADO Group and represents a major milestone in the PRADO development. We...
0
by: Qiang Xue | last post by:
We are proud to announce the RC release of PRADO 3.1.0. This is the result of more than one year of hard work from the PRADO Group. It represents a major milestone in the PRADO development. We...
1
by: Qiang Xue | last post by:
After more than one year's hard work, the PRADO Group is proud to announce the formal release of PRADO 3.1.0, a major milestone in the PRADO framework development. This release added intrinsic DB...
0
by: Qiang Xue | last post by:
We are proud to announce the formal release of PRADO 3.1.1. This is a feature enhancement release over the previous release. In this release, we included several new commonly requested Web...
0
by: Qiang Xue | last post by:
We are proud to announce the formal release of PRADO 3.1.2. This is a feature enhancement and bug fix release over the previous release. In this release, we enhanced the functionality of Active...
0
by: Qiang Xue | last post by:
We are proud to announce the formal release of PRADO 3.1.3. This is a feature enhancement and bug fix release over the previous release. In this release, we created several new active controls,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.