Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1038605
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:59:45+00:00 2026-05-16T14:59:45+00:00

I have a DotNetNuke website that by default people use anonymously. When they want

  • 0

I have a DotNetNuke website that by default people use anonymously. When they want to login they click a link which takes them to /DesktopModules/AuthenticationServices/ActiveDirectory/WindowsSignin.aspx and then redirects them back to the front page.

On the front page is some jQuery which is designed to change the cookies created during the login process from being permanent to session based (So they’ll disappear when the users browser is closed).

However although I can create and read my own cookies in jQuery (using the cookies plugin) I’m not able to view the cookies that have been created server side during the login.

The image below shows the cookies that exist for the DotNetNuke website.

Screenshot of IECookiesView

Demo1 and Demo3 have been created by jQuery with the following code:

$.cookie('Demo1', 'Fred', { expires: 0.005, path: '/' } );
$.cookie('Demo3', 'Peter', { expires: 0.005, path: '/', domain: 'internet.nt.avs' } );

These cookies can then be read using the follow code:

alert( $.cookie('Demo3') );

However if I then try and read one of the other cookies, which I haven’t set through jQuery I get null returned:

alert( $.cookie('.DOTNETNUKE') );

Why is this happening?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T14:59:46+00:00Added an answer on May 16, 2026 at 2:59 pm

    Cookies created by ASP.NET through FormsAuthentication have HttpOnly flag set for security reasons. Because of that they can’t be accessed through javascript.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working with DNN (DotNetNuke) and I have to change the default login module.
Here's my situation. I have a DotNetNuke application. I want to link to an
I have inherited a DotNetNuke codebase and have come across areas that have included
Windows Server 2003. I have an existing DotNetNuke website. SQL Server is currently running
I have written a DotNetNuke module for a customer that allows them to delete
I'm working on a custom DotNetNuke module which requires the use of Lightbox. What's
I have a DotNetNuke skin that has a single CSS file over 3,500 lines
I have a registration page in Dotnetnuke. I want to have a confirm email
I have an old website that hasn't gotten much love over the years and
I have installed DotNetNuke 5.6 on my local drive,now i want to move it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.