CFF KB - Carrz-Fox-Fire Promotions Knowledge Base
CFF KB is all about 1 thing: The Sharing of Knowledge and the Power we gain from it.Knowledge Base
- Breadrumbs:
'mycookie' is not declared. It may be inaccessible due to its protection level.
- Article ID:
7286 - Date Created
Saturday, March 15, 2025 - Last Updated
Saturday, March 15, 2025 - This Article Has been Viewed
54 times - Short Desc
' is not declared. It may be inaccessible due to its protection level. - Details
When reading from a cookie, you have to make sure you wrap the cookie and name and value In double quotes. - Recreate IssueDim strcsun As String = Context.Request.Cookies(mycookie)("User")
In the above, we can see that the cookie name mycookie
Is not enclosed in double quotes. "mycookie" - Resolve IssueDim strcsun As String = Context.Request.Cookies("mycookie")("User")
Enclosing the cookie name with double quotes. "mycookie"
Resolves this issue.






Share With Friends (Updated 6-8-2010)
Recent Articles
All Topics
- Coming Soon - Knowledge Exchange
Trending Articles
- Microsoft VBScript runtime error '800a0046' Permission denied FileSystemObject 24936
- Microsoft OLE DB Provider for SQL Server error '80040e57' String or binary data would be truncated. or The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data. 21689
- ADODB.Parameters error '800a0e7c' Parameter object is improperly defined 19788
- After Effects warning: Audio conforming failed for the following file .cfa. Perhaps due to disk space 18249
- The backup set holds a backup of a database other than the existing 17067