Error reading cookies.

  • Thread starter Thread starter Robert Jackson
  • Start date Start date
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.
 
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?
 
Back
Top