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  |  

AspDotNetStoreFront
  Ads  
 


  Sponsors  

Meet Our Sponsors

Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  Cookies?
Previous Previous
 
Next Next
New Post 5/27/2008 2:35 PM
User is offline Will Strohl
1374 posts
www.WillStrohl.com
6th Ranked




Cookies? 

Does the DNN Client API have cookie handling integrated into it?  Client-side and server-side?


Will LinkedIn profile
DNN Training Videos | My Blog | DotNetNuke® Skins by SSD
Google Toolbar Button for DNN | Suggested DNN Upgrade Paths
ODUG Web Site
 
New Post 5/31/2008 5:03 PM
User is offline Jon Henning
1622 posts
www.codeendeavors.com
5th Ranked










Re: Cookies? 

Yes on the client-side, this is how the expand/collapse gets remembered.

dnn.dom.getCookie(name)

dnn.dom.deleteCookie(name, path, domain)

dnn.dom.setCookie(name, val, days, path, domain, isSecure)

 


 
New Post 6/10/2008 6:38 AM
User is offline Will Strohl
1374 posts
www.WillStrohl.com
6th Ranked




Re: Cookies? 

Awesome!  Thank you! 

Since I have you on the line... (so to speak)  Where is the client API documentation that is supposed to be linked to at the bottom of this page?

http://webcontrols.dotnetnuke.com/documents.aspx


Will LinkedIn profile
DNN Training Videos | My Blog | DotNetNuke® Skins by SSD
Google Toolbar Button for DNN | Suggested DNN Upgrade Paths
ODUG Web Site
 
New Post 6/10/2008 8:42 PM
User is offline Jon Henning
1622 posts
www.codeendeavors.com
5th Ranked










Re: Cookies? 

Not sure what you mean by the bottom of the page.  Each image () that looks like an icon is a link


 
New Post 6/17/2008 1:22 PM
User is offline jfs67
33 posts
10th Ranked




Re: Cookies? 

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.

Thank you

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  Cookies?
 


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.

 


telerik
telerik r.a.d.controls suite is the most innovative and comprehensive toolset for ASP.NET development, tailored for seamless integration with the DotNetNuke project. This integrated collection of controls allows professionals to build web-solutions with the UI richness and responsiveness of desktop applications.
dnn.telerik.com
CrystalTech
CrystalTech Web Hosting™ provides first-class service and support. Our value-packed ASP.NET plans offer DNN installation, SQL 2005 and up to 100 domain names starting at only $16.95 per month!
CrystalTech.com
DotNetNuke® in Sweden
All service of DotNetNuke® in Sweden.
Olsmar Konsult

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