RE: Session & Cookies Advice

From: Pravin Patil [MVP] (pravintp_at_mastek.com)
Date: 03/01/04


Date: Mon, 1 Mar 2004 11:36:05 -0800

Hi,

This error occurs when javascript code tries to handle cookies at client side.
1. In Browser, go to view -> View source
2. Goto page number 298.

Find out the line where it is giving error.
Try to write that code in try.. catch... block

You can also check within a code like

if(document.cookie)
{
    //take some action
}



Relevant Pages

  • Asp.net without Javascript????
    ... users might have locked down machines that have cookies and client side ... postback system is achieved through asp.net creating client side javascript ... I always thought that asp.net was clever enough to work out your browser ...
    (microsoft.public.dotnet.framework.aspnet)
  • The problem may be something else if you already use cookieless sessions
    ... a specific server on the network proxy server farm. ... > cookies when creating a web site. ... > specifically said her browser did not allow cookies. ... > client so the server can identify this client. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Asp.net without Javascript????
    ... client script is needed with some controls and features. ... users might have locked down machines that have cookies and client side ... postback system is achieved through asp.net creating client side javascript ... I always thought that asp.net was clever enough to work out your browser ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Unusual cookie bug!
    ... Or cookies might be disabled. ... It still can be disabled client side. ... > meaning that cookies are allowed in the client browser. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How do I enable Cookies?
    ... when I goto www.natwest.com all I get is an error message telling ... me that unfortunately my browser does not accept Cookies, ... I've no idea about Fresco, but as far as I know, cookies are always ...
    (comp.sys.acorn.misc)