<?xml version="1.0"?><rss version="2.0" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Development</title><link>https://www.dnnhero.com/Forum/forumid/2/scope/threads</link><description></description><pubDate>Sat, 02 May 2026 10:55:51 GMT</pubDate><lastBuildDate>Fri, 14 Sep 2018 14:16:46 GMT</lastBuildDate><ttl>30</ttl><item><title>Reliable Windows Shared Hosting?</title><pubDate>Fri, 14 Sep 2018 14:16:46 GMT</pubDate><dc:creator>Dave</dc:creator><link>https://www.dnnhero.com/Forum/forumid/2/threadid/6092/scope/posts</link><guid>https://www.dnnhero.com/Forum/forumid/2/threadid/6092/scope/posts</guid><description>&lt;p&gt;Hi Sharleen&lt;/p&gt;
&lt;p&gt;Have you only got the 1 site?&lt;/p&gt;
&lt;p&gt;Have you run a sizing test on the tables of the database? I wonder what is consuming all the space.&lt;/p&gt;
&lt;p&gt;I use a hosting company in the UK, very good.&lt;/p&gt;
&lt;p&gt;Also use to be with a big player in&amp;nbsp; the USA, they got hacked, in fact lost their own domain name. I couldn't get out quick enough&lt;/p&gt;
&lt;p&gt;I also have my own VPS, onto which I have a number of clients. Good as I don't lose my email when some 'idiot' spams from our shared server!!&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;</description><comments>https://www.dnnhero.com/Forum/forumid/2/threadid/6092/scope/posts</comments></item><item><title>Default Javascript file across site?</title><pubDate>Sat, 14 Jul 2018 08:06:05 GMT</pubDate><dc:creator>Aderson Oliveira</dc:creator><link>https://www.dnnhero.com/Forum/forumid/2/threadid/6081/scope/posts</link><guid>https://www.dnnhero.com/Forum/forumid/2/threadid/6081/scope/posts</guid><description>&lt;p&gt;Happy to be able to help Dan!&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Aderson&lt;/p&gt;</description><comments>https://www.dnnhero.com/Forum/forumid/2/threadid/6081/scope/posts</comments></item><item><title>Re: i want a developer </title><pubDate>Fri, 05 Jan 2018 08:17:56 GMT</pubDate><dc:creator>Dave</dc:creator><link>https://www.dnnhero.com/Forum/forumid/2/threadid/5901/scope/posts</link><guid>https://www.dnnhero.com/Forum/forumid/2/threadid/5901/scope/posts</guid><description>&lt;p&gt;Hi Stephany&lt;/p&gt;
&lt;p&gt;I have worked with DNN for over 10 years developing a number of sites including a store type environment.&lt;/p&gt;
&lt;p&gt;Do you have a specification of your requirements?&lt;/p&gt;
&lt;p&gt;Is your data currently in a database?&lt;/p&gt;
&lt;p&gt;Do you require an office based backend to handle the processing of the orders when received&lt;/p&gt;
&lt;p&gt;Do you have a budget / budget range?&lt;/p&gt;
&lt;p&gt;You offer shipping to US, UK, Canada, and Australia however the site only sells in US Dollars, do you want a multi currency / multilingual capability?&lt;/p&gt;
&lt;p&gt;Do you also need marketing assistance e.g. Google Adwords?&lt;/p&gt;
&lt;p&gt;All the best&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;
&lt;p&gt;P.S. There is a typo on your site "&lt;span style="color: #333333; text-align: justify;"&gt;Like always, your loyal online friend Smaishleather has never failed to stock its consumer&amp;rsquo;s wardrobe&lt;/span&gt;" on the Xmen page&amp;nbsp;http://www.samishleather.com/category/x-men-apocalypse-jackets&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>ckeditor</title><pubDate>Sat, 26 Aug 2017 10:06:43 GMT</pubDate><dc:creator>Aderson Oliveira</dc:creator><link>https://www.dnnhero.com/Forum/forumid/2/threadid/5389/scope/posts</link><guid>https://www.dnnhero.com/Forum/forumid/2/threadid/5389/scope/posts</guid><description>&lt;p&gt;Someone was spamming the site Rod.&lt;/p&gt;
&lt;p&gt;We are doing a clean up!&lt;/p&gt;
&lt;p&gt;Sorry,&lt;/p&gt;
&lt;p&gt;Aderson&lt;/p&gt;</description><comments>https://www.dnnhero.com/Forum/forumid/2/threadid/5389/scope/posts</comments></item><item><title>Custom URL Rewriting / Redirects for MVC Module</title><pubDate>Tue, 25 Jul 2017 07:58:12 GMT</pubDate><dc:creator>Scott Wilkinson</dc:creator><link>https://www.dnnhero.com/Forum/forumid/2/threadid/5385/scope/posts</link><guid>https://www.dnnhero.com/Forum/forumid/2/threadid/5385/scope/posts</guid><description>&lt;p&gt;Our tutorial, &lt;a href="https://www.dnnhero.com/course/dnn-8-module-development"&gt;Building a URL Extension Provider for DNN&lt;/a&gt;, covers exactly what you need. &amp;nbsp;You can create an extension provider and package it with your module. &amp;nbsp;You can handle automated Url rewrites and redirects. &amp;nbsp;In the case you mentioned, you would have a cached listing of all staff url "slugs" (ie: "Bill") with a mapping to the staff Id. &amp;nbsp;If the Url path matches your slug, you can rewrite the url with the staff id, /about/staff/staffid/355. &amp;nbsp;The tutorial above has an example extension provider for a blog module, but it translates nicely to your problem.&lt;/p&gt;</description><comments>https://www.dnnhero.com/Forum/forumid/2/threadid/5385/scope/posts</comments></item><item><title>Javascript only executing when logged in</title><pubDate>Wed, 19 Jul 2017 17:22:34 GMT</pubDate><dc:creator>Aderson Oliveira</dc:creator><link>https://www.dnnhero.com/Forum/forumid/2/threadid/5364/scope/posts</link><guid>https://www.dnnhero.com/Forum/forumid/2/threadid/5364/scope/posts</guid><description>&lt;p&gt;Hi Richard,&lt;/p&gt;
&lt;p&gt;The problem is &lt;em&gt;NOT&lt;/em&gt; that the code only runs when logged in. The issue is &lt;em&gt;WHY&lt;/em&gt; the code is not there at all in the page header when you are not logged in?? Very interesting...&lt;/p&gt;
&lt;p&gt;If you want, send me a private message with the host level access so I can check it. aderson at dnnhero dot com&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Aderson&lt;/p&gt;</description><comments>https://www.dnnhero.com/Forum/forumid/2/threadid/5364/scope/posts</comments></item><item><title>Window.Open - seems redirected</title><pubDate>Wed, 19 Jul 2017 11:19:41 GMT</pubDate><dc:creator>Dave</dc:creator><link>https://www.dnnhero.com/Forum/forumid/2/threadid/5365/scope/posts</link><guid>https://www.dnnhero.com/Forum/forumid/2/threadid/5365/scope/posts</guid><description>&lt;p&gt;If you have a limited set of websites then the button option works&lt;/p&gt;
&lt;p&gt;Here is the HTML to get you started&lt;/p&gt;
&lt;p&gt;{h2}{span style="font-size: 1.2em;"}Please click on your post code area button{/span}{/h2}&lt;br /&gt;
{p}&amp;nbsp;{/p}&lt;br /&gt;
{p}{a class="djh_button blue" href="/home/book_online/driving_lessons_in_AL.aspx?pricecode=B"}AL{/a} - {a class="djh_button blue" href="/home/book_online/driving_lessons_in_BA.aspx?pricecode=D"}BA{/a}{/p}&lt;br /&gt;
{p}and Could be{/p}&lt;br /&gt;
{h2}{span style="font-size: 1.2em;"}Please click on your website button{/span}{/h2}&lt;br /&gt;
{p}&amp;nbsp;{/p}&lt;br /&gt;
{p}{a class="djh_button blue" href="http://www.bbc.co.uk"}BBC{/a} - {a class="djh_button blue" href="http://www.google"}Google{/a}{/p}&lt;br /&gt;
{p}&amp;nbsp;{/p}&lt;br /&gt;
{p}add&amp;nbsp;{span}target="_blank" to open a new tab and not lose the original site - not an issue for my New Driver Site{/span}{/p}&lt;br /&gt;
{p}{a href="www.bbc.co.uk" target="_blank"}BBC{/a}&lt;/p&gt;
&lt;p&gt;I replaced the &amp;lt; and &amp;gt; with { and } because I lost the "code" when I saved :-(&lt;/p&gt;
&lt;p&gt;If you need to collect other information and you are being paid to build the site then I would recommend Data Springs Dynamic Forms probably the best $200ish you can spend&lt;/p&gt;
&lt;p&gt;I've built some very powerful websites with this "contact form" because it has some amazing features&lt;/p&gt;
&lt;p&gt;All the best&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;
&lt;p&gt;P.S.&lt;/p&gt;
&lt;p&gt;Dynamic Forms allows you to pass parameters to and from a page, a URL, Cookie and Session variables - AMAZING :-)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description><comments>https://www.dnnhero.com/Forum/forumid/2/threadid/5365/scope/posts</comments></item><item><title>Getting Deleted Date from ModuleInfo (moving module to recycle bin)</title><pubDate>Thu, 22 Jun 2017 09:47:38 GMT</pubDate><dc:creator>Dave</dc:creator><link>https://www.dnnhero.com/Forum/forumid/2/threadid/5333/scope/posts</link><guid>https://www.dnnhero.com/Forum/forumid/2/threadid/5333/scope/posts</guid><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I assume you are trying to find out who is deleting modules?&lt;/p&gt;
&lt;p&gt;Again, assuming every user in NOT an admin, you may have a small number of suspects&lt;/p&gt;
&lt;p&gt;You could therefore use an SQL query to cross reference delete date/time with login / logout&lt;/p&gt;
&lt;p&gt;Apologies I've not tested this but I was just working on a site and I noted the Recycle Bin had dates next to the modules I had deleted&lt;/p&gt;
&lt;p&gt;If your site is used by a 'large' company then your users (with editing rights) may be departmental and control different parts of the site, create users and give selective rights by department&lt;/p&gt;
&lt;p&gt;Failing all of the above - teach you users not to DELETE modules but to set the expiry date and get them to 'log' the action in the module header / footer&lt;/p&gt;
&lt;p&gt;I hope one of these work for you :-)&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;
&lt;p&gt;P.S. Who is clearing the audit log?&lt;/p&gt;
&lt;p&gt;Maybe do something to extract the log on daily basis and store in an offline databases - Access?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description><comments>https://www.dnnhero.com/Forum/forumid/2/threadid/5333/scope/posts</comments></item><item><title>Embed Google Groups digest into DNN 9</title><pubDate>Fri, 31 Mar 2017 13:11:19 GMT</pubDate><dc:creator>Batiatus</dc:creator><link>https://www.dnnhero.com/Forum/forumid/2/threadid/5272/scope/posts</link><guid>https://www.dnnhero.com/Forum/forumid/2/threadid/5272/scope/posts</guid><description>&lt;p&gt;Thanks for your input, Aderson.&amp;nbsp;&lt;/p&gt;</description><comments>https://www.dnnhero.com/Forum/forumid/2/threadid/5272/scope/posts</comments></item><item><title>Profile Images Not Found on Local Install</title><pubDate>Tue, 31 Jan 2017 14:18:21 GMT</pubDate><dc:creator>michael</dc:creator><link>https://www.dnnhero.com/Forum/forumid/2/threadid/5260/scope/posts</link><guid>https://www.dnnhero.com/Forum/forumid/2/threadid/5260/scope/posts</guid><description>&lt;p&gt;I've added this record and restarted the application. Problem still remains. If I find anything else that works I'll post back.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description><comments>https://www.dnnhero.com/Forum/forumid/2/threadid/5260/scope/posts</comments></item><item><title>DNN 7.4.2 custom Module Scheduling problem</title><pubDate>Fri, 02 Dec 2016 09:50:04 GMT</pubDate><dc:creator>Aderson Oliveira</dc:creator><link>https://www.dnnhero.com/Forum/forumid/2/threadid/5249/scope/posts</link><guid>https://www.dnnhero.com/Forum/forumid/2/threadid/5249/scope/posts</guid><description>Thanks for letting us know Purple - I sent this to Scott but I think he was clueless as well :)</description><comments>https://www.dnnhero.com/Forum/forumid/2/threadid/5249/scope/posts</comments></item><item><title>Upgrading to dnn 7.4,</title><pubDate>Wed, 09 Nov 2016 09:31:14 GMT</pubDate><dc:creator>Aderson Oliveira</dc:creator><link>https://www.dnnhero.com/Forum/forumid/2/threadid/4245/scope/posts</link><guid>https://www.dnnhero.com/Forum/forumid/2/threadid/4245/scope/posts</guid><description>&lt;p&gt;Hi Tariq,&lt;/p&gt;
&lt;p&gt;Before we are able to provide a solution we need to know more.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1 - Please check Google Chrome Dev Tools - Go the the "Console" and load the page again. See if you get any Javascript errors;&lt;/p&gt;
&lt;p&gt;2 - Also, see if there is anything showing up under the Event Logs;&lt;/p&gt;
&lt;p&gt;Report what you find back here.&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Aderson&lt;/p&gt;</description><comments>https://www.dnnhero.com/Forum/forumid/2/threadid/4245/scope/posts</comments></item><item><title>SIgnalR Security for DNN</title><pubDate>Fri, 23 Sep 2016 05:01:51 GMT</pubDate><dc:creator>Purple</dc:creator><link>https://www.dnnhero.com/Forum/forumid/2/threadid/4207/scope/posts</link><guid>https://www.dnnhero.com/Forum/forumid/2/threadid/4207/scope/posts</guid><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using SignalR for one of my DNN projects.&lt;/p&gt;
&lt;p&gt;Are there any security features implemented / security practices suggested for using SignalR in DNN.&lt;/p&gt;
&lt;p&gt;For instance for We have DnnAuthorize Attribute for Web APi.&lt;/p&gt;
&lt;p&gt;Are there any similar security that can be implemented for SignalR?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>SPA module Skin Problems</title><pubDate>Fri, 16 Sep 2016 11:04:18 GMT</pubDate><dc:creator>Purple</dc:creator><link>https://www.dnnhero.com/Forum/forumid/2/threadid/4197/scope/posts</link><guid>https://www.dnnhero.com/Forum/forumid/2/threadid/4197/scope/posts</guid><description>&lt;p&gt;Thank You Scott.&lt;/p&gt;
&lt;p&gt;Please let me know alternate way other than &amp;nbsp;using&amp;nbsp;&lt;/p&gt;
&lt;p&gt;[skinsrc=/Portals/_default/Skins/Gravity/Home] to force skin for SPA page with ctrl &amp;nbsp;querystring.&lt;/p&gt;
&lt;p&gt;my current URL looks like&lt;/p&gt;
&lt;p&gt;[http://dnndev.me/Home/&lt;strong&gt;ctl&lt;/strong&gt;/Default/mid/422?&lt;strong&gt;skinsrc=/Portals/_default/Skins/Gravity/Home&lt;/strong&gt;]&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description><comments>https://www.dnnhero.com/Forum/forumid/2/threadid/4197/scope/posts</comments></item><item><title>SPA module Getting Querystring</title><pubDate>Wed, 14 Sep 2016 04:13:14 GMT</pubDate><dc:creator>Purple</dc:creator><link>https://www.dnnhero.com/Forum/forumid/2/threadid/4190/scope/posts</link><guid>https://www.dnnhero.com/Forum/forumid/2/threadid/4190/scope/posts</guid><description>&lt;p&gt;Thank you Scott.&lt;/p&gt;</description><comments>https://www.dnnhero.com/Forum/forumid/2/threadid/4190/scope/posts</comments></item><item><title>Compose Message plugin</title><pubDate>Wed, 08 Jun 2016 12:05:14 GMT</pubDate><dc:creator>Roberto</dc:creator><link>https://www.dnnhero.com/Forum/forumid/2/threadid/4118/scope/posts</link><guid>https://www.dnnhero.com/Forum/forumid/2/threadid/4118/scope/posts</guid><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am trying to use tha Compose Message plugin according to the next thread:&lt;/p&gt;
&lt;p&gt;http://www.dnnsoftware.com/answers/how-to-reuse-the-compose-message-plugin-on-another-page&lt;/p&gt;
&lt;p&gt;I got it working ok but only for Admin user. If I try to send a message using a registered user I got an "unauthorised" error.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any Ideas to resolve this issue??&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>web api OData in DNN8</title><pubDate>Tue, 23 Feb 2016 14:01:03 GMT</pubDate><dc:creator>Cheryl</dc:creator><link>https://www.dnnhero.com/Forum/forumid/2/threadid/4050/scope/posts</link><guid>https://www.dnnhero.com/Forum/forumid/2/threadid/4050/scope/posts</guid><description>&lt;p&gt;Hi Scott,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Nice to hear from you also! &amp;nbsp;I still have production modules running well using some of your templates from years back, so thanks again for your development help! &amp;nbsp;I could follow your steps back when I didn't know anything, so your demos were super helpful.&lt;/p&gt;
&lt;p&gt;I have alot of OData queries written because I use the Kendo controls (Kendo is javascript - jquery) &amp;nbsp;from Telerik and they use OData. &amp;nbsp;Many of these Kendo controls are running inside DNN modules (one of which is a MVC module that I built using the MVC Bridge in DNN 7.01.01). &amp;nbsp;Right now my OData queries are external to DNN but I also have web api controls (not OData) running internal to DNN as well. &amp;nbsp;Once I heard that DNN8 had json web tokens, I was hoping to use DNN also to house the OData queries that we use in our web and mobile apps. &amp;nbsp;But I agree, I hate the idea of going in and changing the source code, and getting that entire platform working would be a big job.&lt;/p&gt;
&lt;p&gt;So I may just look for another solution for securing the OData web api's for mobile apps. &amp;nbsp;Securing them was easy for web apps. I used CORs because I could just specify which domains could access them. &amp;nbsp;But I'll have to find a different way to secure the OData web api's for the mobile apps that are not in DNN.&lt;/p&gt;
&lt;p&gt;But thanks for the feedback and I will check out these other 2 links and see if they had any success.&lt;/p&gt;
&lt;p&gt;I hope you all have a great time at DNNCon! &amp;nbsp;Wish I could go but I'll have to wait until next year.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Take care,&lt;/p&gt;
&lt;p&gt;Cheryl&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description><comments>https://www.dnnhero.com/Forum/forumid/2/threadid/4050/scope/posts</comments></item><item><title>DAL2 questions on functionality</title><pubDate>Wed, 10 Feb 2016 13:48:40 GMT</pubDate><dc:creator>Keith</dc:creator><link>https://www.dnnhero.com/Forum/forumid/2/threadid/4018/scope/posts</link><guid>https://www.dnnhero.com/Forum/forumid/2/threadid/4018/scope/posts</guid><description>You may want to look directly at the Petapoco site (http://www.toptensoftware.com/petapoco/). There are examples of joins, etc, there. Keep in mind you're not joining the resultant objects so the object you ship the join results to should have all the fields. In m case I see fields that are foriegn key values pulled in from the join to [Ignore] so if oyu use the same object on an update or add it doesn't attempt to use it.</description><comments>https://www.dnnhero.com/Forum/forumid/2/threadid/4018/scope/posts</comments></item><item><title>Managing UserInfo in WCF service (DNN 07.04.02)</title><pubDate>Fri, 08 Jan 2016 10:19:39 GMT</pubDate><dc:creator>Purple</dc:creator><link>https://www.dnnhero.com/Forum/forumid/2/threadid/4019/scope/posts</link><guid>https://www.dnnhero.com/Forum/forumid/2/threadid/4019/scope/posts</guid><description>&lt;p style="color: #888888; margin-bottom: 15px; background-color: #f1f1f1;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am creating a WCF service in one of my DNN modules replacing an existing SOAP based service.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I used wcf.exe to create to create the service from the old wsdl file by following the blog.&lt;/p&gt;
&lt;p&gt;https://waelmohamed.wordpress.com/2013/06/10/generate-net-web-service-from-wsdl-file-identical-best-practices/&lt;/p&gt;
&lt;p&gt;I need to make the SOAP service statefull by manging the login in the server.&lt;/p&gt;
&lt;p&gt;I did some research and created a method to send the &amp;ldquo;.&lt;span style="color: #a31515;"&gt;DOTNETNUKE&lt;/span&gt;&amp;rdquo; cookie which is used to manage user login in DNN using the the following code&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: #2b91af;"&gt;OperationContext&lt;/span&gt;&lt;span style="color: black;"&gt; context = &lt;/span&gt;&lt;span style="color: #2b91af;"&gt;OperationContext&lt;/span&gt;&lt;span style="color: black;"&gt;.Current;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: #2b91af;"&gt;MessageProperties&lt;/span&gt;&lt;span style="color: black;"&gt; prop = context.IncomingMessageProperties;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: #2b91af;"&gt;RemoteEndpointMessageProperty&lt;/span&gt;&lt;span style="color: black;"&gt; endpoint = prop[&lt;/span&gt;&lt;span style="color: #2b91af;"&gt;RemoteEndpointMessageProperty&lt;/span&gt;&lt;span style="color: black;"&gt;.Name] &lt;/span&gt;&lt;span style="color: blue;"&gt;as&lt;/span&gt;&lt;span style="color: black;"&gt; &lt;/span&gt;&lt;span style="color: #2b91af;"&gt;RemoteEndpointMessageProperty&lt;/span&gt;&lt;span style="color: black;"&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;string&lt;/span&gt;&lt;span style="color: black;"&gt; ip = endpoint.Address;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt;&lt;span style="color: black;"&gt; loginStatus = &lt;/span&gt;&lt;span style="color: blue;"&gt;new&lt;/span&gt;&lt;span style="color: black;"&gt; &lt;/span&gt;&lt;span style="color: #2b91af;"&gt;UserLoginStatus&lt;/span&gt;&lt;span style="color: black;"&gt;();&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt;&lt;span style="color: black;"&gt; portalname = &lt;/span&gt;&lt;span style="color: #a31515;"&gt;""&lt;/span&gt;&lt;span style="color: black;"&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt;&lt;span style="color: black;"&gt; objUser = &lt;/span&gt;&lt;span style="color: #2b91af;"&gt;UserController&lt;/span&gt;&lt;span style="color: black;"&gt;.ValidateUser(0, request.Body.Email,request.Body.Password, &lt;/span&gt;&lt;span style="color: #a31515;"&gt;""&lt;/span&gt;&lt;span style="color: black;"&gt;, portalname, ip, &lt;/span&gt;&lt;span style="color: blue;"&gt;ref&lt;/span&gt;&lt;span style="color: black;"&gt; loginStatus);&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;if&lt;/span&gt;&lt;span style="color: black;"&gt; (loginStatus != &lt;/span&gt;&lt;span style="color: #2b91af;"&gt;UserLoginStatus&lt;/span&gt;&lt;span style="color: black;"&gt;.LOGIN_FAILURE || loginStatus != &lt;/span&gt;&lt;span style="color: #2b91af;"&gt;UserLoginStatus&lt;/span&gt;&lt;span style="color: black;"&gt;.LOGIN_USERNOTAPPROVED)&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: #2b91af;"&gt;UserController&lt;/span&gt;&lt;span style="color: black;"&gt;.UserLogin(0, objUser, portalname, ip, &lt;/span&gt;&lt;span style="color: blue;"&gt;true&lt;/span&gt;&lt;span style="color: black;"&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt;&lt;span style="color: black;"&gt; cookie=&lt;/span&gt;&lt;span style="color: #2b91af;"&gt;FormsAuthentication&lt;/span&gt;&lt;span style="color: black;"&gt;.GetAuthCookie(objUser.Username, &lt;/span&gt;&lt;span style="color: blue;"&gt;true&lt;/span&gt;&lt;span style="color: black;"&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: #2b91af;"&gt;WebOperationContext&lt;/span&gt;&lt;span style="color: black;"&gt;.Current.OutgoingResponse.Headers.Add(&lt;/span&gt;&lt;span style="color: #a31515;"&gt;$"Set-Cookie: &lt;/span&gt;&lt;span style="color: black;"&gt;{cookie.Name}&lt;/span&gt;&lt;span style="color: #a31515;"&gt;=&lt;/span&gt;&lt;span style="color: black;"&gt;{cookie.Value}&lt;/span&gt;&lt;span style="color: #a31515;"&gt;; expires=&lt;/span&gt;&lt;span style="color: black;"&gt;{cookie.Expires}&lt;/span&gt;&lt;span style="color: #a31515;"&gt;; path=&lt;/span&gt;&lt;span style="color: black;"&gt;{cookie.Path}&lt;/span&gt;&lt;span style="color: #a31515;"&gt;; &lt;/span&gt;&lt;span style="color: black;"&gt;{(cookie.HttpOnly?&lt;/span&gt;&lt;span style="color: #a31515;"&gt;"HttpOnly"&lt;/span&gt;&lt;span style="color: black;"&gt;:&lt;/span&gt;&lt;span style="color: #a31515;"&gt;""&lt;/span&gt;&lt;span style="color: black;"&gt;)}&lt;/span&gt;&lt;span style="color: #a31515;"&gt;"&lt;/span&gt;&lt;span style="color: black;"&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;return&lt;/span&gt;&lt;span style="color: black;"&gt; &lt;/span&gt;&lt;span style="color: blue;"&gt;new&lt;/span&gt;&lt;span style="color: black;"&gt; &lt;/span&gt;&lt;span style="color: #2b91af;"&gt;UserAuthenticationResponse&lt;/span&gt;&lt;span style="color: black;"&gt;(&lt;/span&gt;&lt;span style="color: blue;"&gt;new&lt;/span&gt;&lt;span style="color: black;"&gt; &lt;/span&gt;&lt;span style="color: #2b91af;"&gt;UserAuthenticationResponseBody&lt;/span&gt;&lt;span style="color: black;"&gt;() { Token = cookie.Value });&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: black;"&gt;The cookie is then sent along with the subsequent SOAP requests.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: black;"&gt;I use the following code to get the user name from the cookie;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt;&lt;span style="color: black;"&gt; cookie =&amp;nbsp; &lt;/span&gt;&lt;span style="color: #2b91af;"&gt;WebOperationContext&lt;/span&gt;&lt;span style="color: black;"&gt;.Current.IncomingRequest.Headers[&lt;/span&gt;&lt;span style="color: #2b91af;"&gt;HttpRequestHeader&lt;/span&gt;&lt;span style="color: black;"&gt;.Cookie];&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cookie= cookie.Replace(&lt;/span&gt;&lt;span style="color: #a31515;"&gt;".DOTNETNUKE="&lt;/span&gt;&lt;span style="color: black;"&gt;, &lt;/span&gt;&lt;span style="color: #a31515;"&gt;""&lt;/span&gt;&lt;span style="color: black;"&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt;&lt;span style="color: black;"&gt; temp=&amp;nbsp; &lt;/span&gt;&lt;span style="color: #2b91af;"&gt;FormsAuthentication&lt;/span&gt;&lt;span style="color: black;"&gt;.Decrypt(cookie);&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt;&lt;span style="color: black;"&gt; userName=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; temp.Name;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: #2b91af;"&gt;UserController&lt;/span&gt;&lt;span style="color: black;"&gt;.Instance.GetCurrentUserInfo&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var user = &lt;/span&gt;&lt;span style="color: #2b91af;"&gt;UserController&lt;/span&gt;&lt;span style="color: black;"&gt;.GetUserByName(0, userName);&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: black;"&gt;Is this a valid method or is there a better method to get the user id from the cookie.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: black;"&gt;I also want to set dotetnuke variables like U&lt;/span&gt;&lt;span style="color: #2b91af;"&gt;serController&lt;/span&gt;&lt;span style="color: black;"&gt;.Instance.GetCurrentUserInfo&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: black;"&gt;So that I can use it in my business logic. Is there any way to do that?&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Tutorial about angular bootstrap is not valid for version 1.4.6</title><pubDate>Sun, 20 Dec 2015 16:07:06 GMT</pubDate><dc:creator>Pero</dc:creator><link>https://www.dnnhero.com/Forum/forumid/2/threadid/4009/scope/posts</link><guid>https://www.dnnhero.com/Forum/forumid/2/threadid/4009/scope/posts</guid><description>&lt;p&gt;It works fine. Sorry, it was typo error.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description><comments>https://www.dnnhero.com/Forum/forumid/2/threadid/4009/scope/posts</comments></item><item><title>More...</title><wfw:link>https://www.dnnhero.com/DesktopModules/Forum/Forum_Rss.aspx?forumid=2&amp;mid=858&amp;tabid=261&amp;threadspage=2</wfw:link></item></channel></rss>