ASP cookie reading using C#

I

icanhelp33

I have a C# utility that runs in ASP website. when user logs in the
ASP code writes the cookie. I am unable to read it in C# code.

I am using Request.Cookies["cookiename"].Value.ToString()
I can read the same cookie in ASP code.
If I say Request.Cookies("CookieName") in ASP that works fine..
 
M

Mr. Arnold

I have a C# utility that runs in ASP website. when user logs in the
ASP code writes the cookie. I am unable to read it in C# code.

I am using Request.Cookies["cookiename"].Value.ToString()
I can read the same cookie in ASP code.
If I say Request.Cookies("CookieName") in ASP that works fine..

You should post to ms.public.dotnet.framework.aspnet.
 

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

Similar Threads

ASP NET 2.0 Cookie 8
using _ in cookie names 7
method being called to quickly? 2
inaccessible type due to protection level 1
Weird Cookie Behaviour 1
Non-persistent cookie 1
Cookies C# 3
double cookie 2

Top