Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

PortalWebHosting
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  Cookie Length = 0 using dnn.dom.setCookie (I have to be missing something)
Previous Previous
 
Next Next
New Post 6/21/2008 5:11 PM
User is offline jfs67
33 posts
10th Ranked




Cookie Length = 0 using dnn.dom.setCookie (I have to be missing something) 

I am trying to use the client api, but the cookie is not being set.  Perhaps the way I am passing the values in is not correct?  Passed in this way the cookie lenght equals zero.

dnn.dom.setCookie('AffiliateId','1',30,'/','dnn.com',false);

I also tried:

dnn.dom.setCookie('AffiliateId','1','30','/','dnn.com',false);

dnn.dom.setCookie('AffiliateId','1',30,'/','dnn.com','false');

dnn.dom.setCookie('AffiliateId','1','30','/','dnn.com','false');

The cookie length is zero everytime.

Any help with this would be greatly appreciated.  We need the ability to set the cookie client-side in production badly.

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  Cookie Length = 0 using dnn.dom.setCookie (I have to be missing something)
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Sunset Hill Solutions - Consulting and Development
We offer general DNN consulting services - including custom module development and commercial module integration/setup.
www.sunsethill.ca
MaximumASP
MaximumASP provides a wide array of web hosting plans to fit any hosting need. We also provide software and services needed to keep it running optimally.
MaximumASP.com
Mad Development: dotnetnuke design and development
We are an expert Dotnetnuke shop specializing in developing solutions that merge the requirements of design and branding, content management, ecommerce, search engine optimization and business logic.
www.MadDevelopment.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP