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

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top