I have cookies set when the user log in to the application. Yet I need to modify that when the user updates his profile. Can anyone tell me how to update an existing cookies?
Thanks in advance.(I’m using perl).
I have cookies set when the user log in to the application. Yet I
Share
CGI::Cookie is all you need.
To get the cookies sent to your application:
If you’re using CGI.pm to generate your headers, then sending a
Set-Cookieheader just requires passing in theCGI::Cookieobject:Otherwise, use whatever header-manipulation interface is provided by the web application framework you are using.