N
NWx
Hi,
How can I detect is cookies are enabled or not in client browser?
Thanks?
How can I detect is cookies are enabled or not in client browser?
Thanks?
Slipperman said:if(!IsPostBack)
{
if(Request.Browser.Cookies)
{
objUserCookie = Request.Cookies["userInfo"];
NWx said:Hi,
How can I detect is cookies are enabled or not in client browser?
Thanks?
Dan said:Request.Browser.Cookies determines if the browser supports cookies, not if
they're enabled.
Not sure of a neat way to check they're enabled - maybe try creating one,
and then retrieve its value.
Dan
Slipperman said:if(!IsPostBack)
{
if(Request.Browser.Cookies)
{
objUserCookie = Request.Cookies["userInfo"];
NWx said:Hi,
How can I detect is cookies are enabled or not in client browser?
Thanks?
gh0st54 said:There is no way to verify that cookies are not disable other than
creating a cookie a retrieving it.
"Dan" <[email protected]> wrote in messageRequest.Browser.Cookies determines if the browser supports cookies, not if
they're enabled.
Not sure of a neat way to check they're enabled - maybe try creating one,
and then retrieve its value.
Dan
Slipperman said:if(!IsPostBack)
{
if(Request.Browser.Cookies)
{
objUserCookie = Request.Cookies["userInfo"];
Hi,
How can I detect is cookies are enabled or not in client browser?
Thanks?
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.