I have a shopping cart application that uses CGI::Session. When a visitor logs into the system, a cookie is written to the visitor's computer. The cookie contains the customer's account number.
I want to make the cookie permanent on the visitor's computer, so after a customer logs into the shopping cart for the first time, he/she will not be required to log into the system again, as CGI::Session will read the visitor's cookie to capture the account number from the cookie on the customer's computer.
Presently, the cookie seem to be working with the current browser session, as the customer move from web page to web page. The customer can even return to the start page, which is a kind of splash screen, and then come back into the shopping cart, as long as the browser is never closed. Once the browser is closed and the visitor begins a new session by re-starting his browser, the cookie seems to have been deleted or to have disappeared.
I have tried passing 0 (eg zero) and 10y (eg 10 years) to the CGI::Session module, which works until the browser is closed and started again.
Does anyone know what is required to set a permanent cookie on a customer's computer using CGI::Session.
Regards,
Leland F. Jackson, CPA
Software - Master (TM)
Nothing Runs Like the Fox
I want to make the cookie permanent on the visitor's computer, so after a customer logs into the shopping cart for the first time, he/she will not be required to log into the system again, as CGI::Session will read the visitor's cookie to capture the account number from the cookie on the customer's computer.
Presently, the cookie seem to be working with the current browser session, as the customer move from web page to web page. The customer can even return to the start page, which is a kind of splash screen, and then come back into the shopping cart, as long as the browser is never closed. Once the browser is closed and the visitor begins a new session by re-starting his browser, the cookie seems to have been deleted or to have disappeared.
I have tried passing 0 (eg zero) and 10y (eg 10 years) to the CGI::Session module, which works until the browser is closed and started again.
Does anyone know what is required to set a permanent cookie on a customer's computer using CGI::Session.
Regards,
Leland F. Jackson, CPA
Software - Master (TM)
Nothing Runs Like the Fox