|
|
|
|
|
2 Replies and 765 Views
Programmatically log in a user 765 2
Started by pdreid
Hello,
I&39;m working on a page where I want to programmatically log a user in from the code behind, outside the context of creating an official authentication provider (if that&39;s possible). My code creates and updates users correctly, and the admin logs show the login event for the correct user with a "login success" message; but the website still shows the login link rather than the username in the utility nav, and if I try to access a protected page it&39;s ...
|
|
|
|
2 |
765 |
|
|
10 Replies and 1424 Views
DNN v9.10.02 Web API 1424 10
Started by shyamal majumder
Team,
I have a small query, Suppose I have created 1 web api say getcustomer()
DesktopModules/Leads/API/LeadsDisposition/getcustomer
Now I have 2 domain 1 is main domain say www.maindomain.com and other is subdomain say www.subdomain.maindomain.com
Now can we set api address like
www.subdomain.maindomain.com/DesktopModules/Leads/API/LeadsDisposition/getcustomer
instead of
www.maindomain.com/DesktopModules/Leads/API/LeadsDisposition/getcustomer
Inshort can we s...
|
|
|
|
10 |
1424 |
|
|
5 Replies and 744 Views
DNN.ClientDependency Not Available 744 5
Started by Hans Zassenhaus
I receive the following error messages after opening DNN Platform V9,6,2 in MS Visual Studio 2019 and 2022:
Severity Code Description Project File Line Suppression State
Error NuGet Package restore failed for project DNN Platform\DotNetNuke.Web: Unable to find version &39;1.9.2.7&39; of package &39;Dnn.ClientDependency&39;.
C:\Program Fi...
|
|
|
|
5 |
744 |
|
|
0 Replies and 428 Views
How to Apply Cache in API 428 0
Started by chetan kawale
Hii team,
I am using DNN API to fetch frequently data by using Ajax. So I did&39;t find answer How to cache API in DNN. Please suggest
public class StockTickerController : DnnApiController
{
&91;HttpGet&93;
public HttpResponseMessage DSIJIncludeTickerGraph()
{
return Request.CreateResponse(HttpStatusCode.OK, new { CurrentBseNseValue = AllCurrentBseNseValueV...
|
|
|
|
0 |
428 |
10/4/2022 12:39 AM |
|
4 Replies and 2160 Views
cross (Cors) issue 2160 4
Started by ricky1368
Light-Duty-Wreckers:1 Access to XMLHttpRequest at &39;https://www.test.net/api/api/Fleet/GetFleetListtype=json&39; from origin &39;https://www.dnndomain.net&39; has been blocked by CORS policy: Response to preflight request doesn&39;t pass access control check: No &39;Access-Control-Allow-Origin&39; header is present on the requested resource.
I use ajax jquery to consume external api (webapi written with mvc/c), and have above issues. I already added the header on webconfig, and sti...
|
|
|
|
4 |
2160 |
|
|
2 Replies and 4511 Views
GetUpdateLink or gettable 4511 2
Started by Colder
after the update to 9.9.0 the log is full with entries of the type general exception. Does anyone have any idea what I can do
Summary:
AbsoluteURL / API / personabar / serversummary / GetUpdateLink DefaultDataProvide
AbsoluteURL: / API / personabar / serversummary / GetUpdateLink
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID: a4ad6ad5-e531-4a86-8a3f-339225c2abfa
AssemblyVersion:
PortalId: -1
UserId: -1
TabId: -1
RawUrl:
Referrer:
UserAgent:
Exce...
|
|
|
|
2 |
4511 |
|
|
2 Replies and 1809 Views
Update Scheduler 1809 2
Started by mikaelldnn
Hi,
I&39;m automatically updateing a SchedulerHistory item after a custom scheduler has been issued.
I want to do this to set the next start time based on when the scheduler was created.
As it is by default, if I manually run the scheduler it just adds the frequency.
So for example, if I have it scheduled to run at 4AM every day but then I manually run it at 8:30AM the next start time will be 8:30AM the next day and not 4AM.
So what I&39;m doing is to calculate the next start time ba...
|
|
|
|
2 |
1809 |
|
|
3 Replies and 1740 Views
How to access to DNN objects from separate app ? 1740 3
Started by Oleg
Hi there !
I was able to successfully implement the use of my business application as part of DNN v.07.04.02: I have a page with an iFrame module containing a link to my business application hosted on the same server. I use DNN authorization, and in the application I can get the username using Thread.CurrentPrincipal.Identity.Name, because I use Single Sign On (SHARED AUTHENTICATION).
The question is: can I access DNN objects of the current session such as UserInfo, etc., from my appl...
|
|
|
|
3 |
1740 |
|
|
4 Replies and 1574 Views
Can we add so called Filters to the DNN Event System? 1574 4
Started by Paras Daryanani
Many CMSs have built in "actions" and "filters". DNN&39;s event system fulfills the the like of "actions" where you can add some custom code to do something after a particular event takes place. For example: "Every time a page is updated, send me an email".
I now have a use case where I need a "filter" rather than an "action". The difference here is that some custom code needs to execute on the object that was just modifie...
|
|
|
|
4 |
1574 |
|
|
1 Replies and 1523 Views
dnnapiendpoint/api.ashx is making DOTNETNUKE cookie NULL 1523 1
Started by Suresh
When a user other than host (for example: Administrator) logs into our DNN portal, a DNN api endpoint at https://xxxx.xxxxxxx.com/desktopmodules/dnnsharp/dnnapiendpoint/api.ashxmethod=getminicartsettings&DNNPortalID=345 is setting .DOTNETNUKE cookie to NULL, expiring user session and throwing him out to login page again.
The underlying proc for fetching "getminicartsettings" is working perfect.
Response Header:
Content-Length: 244
Content-Type: text/html; charset=utf-8
...
|
|
|
|
1 |
1523 |
|