Reading cookies created by CGI program

T

Thomas Theakanath

Hi,
Within client-side Javascript code, I am not able to read cookies set
by Perl CGI program. Is that normal? Could I change anything in the
way cookies are set from the CGI program to be able to read them later
in Javascript?

Thanks
Thomas.
 
J

Janwillem Borleffs

Thomas Theakanath said:
Hi,
Within client-side Javascript code, I am not able to read cookies set
by Perl CGI program. Is that normal? Could I change anything in the
way cookies are set from the CGI program to be able to read them later
in Javascript?

The CGI script should create a domain cookie with the 'domain=.domain.com'
parameter and your script should run on the same domain as specified by this
parameter for this to work for you.


JW
 
T

Thomas Theakanath

I tried it; but doesn't seem to work. Is there any resources available
on the net to know more about this requirement?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top