Error reading cookies.

R

Robert Jackson

Hi, I'm creating an asp.net page that uplogin creates a
cookie and then redirects them to a second page that
reads the cookie. It's works on some computers and others
it doesn't. I know the machine that it isn't working on
is accepting cookies. My code is:

response.cookies("EID")("Clinic") = ClinicName
(ClinicName is a string)
response.cookies("EID")("Provider") = ProviderInfo (also
a string)
response.redirect
("http://www.eupraxia.com/patient_test/grant_access.aspx")

then in granted_access.aspx has


lblClinic.Text = request.cookies("EID")("clinic")
lblProvider.Text = request.cookies("EID")("Clinic")

Any idea why it is not reading the cookie? Thanks in
advance Robert.
 
E

e

response.cookies("EID")("Clinic") = ClinicName
response.cookies("EID")("Provider") = ProviderInfo
lblClinic.Text = request.cookies("EID")("clinic")
lblProvider.Text = request.cookies("EID")("Clinic")

Are the mismatched key values an actual cut-n-paste of your code, or just a
posting snafu?
 
G

Guest

good point out just a post messup sorry.
-----Original Message-----


Are the mismatched key values an actual cut-n-paste of your code, or just a
posting snafu?




.
 

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

Top