Setting cookies from a Custom Server Control

A

aBs0lut30

Hi, i need a little help. I am trying to get a new server control up
and running (my 3rd) but am having some trouble this go round. I am
trying to set and/or read a cookie from my server control. The problem
i am running into is that i cant seem to be able to get it to actually
set the cookie.

i have tried getting to the request var. via passing it in through a
public property, and accessing it through parent.page.request
same for response.

But the cookie never gets saved, and the request.cookies.count is
always 0

What am i doing wrong??

Thanks for the help
 

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
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top