Login
Home
KB
Snippets
Current Articles
|
Archives
|
Search
Entries for April 2014
22
Server.MapPath Usage
posted on April 22, 2014 08:51
Server.MapPath specifies the relative or virtual path to map to a physical directory. Server.MapPath(".") returns the current physical ...
[Read the rest of this article...]
Posted in:
C Sharp - C#
Actions:
E-mail
|
Permalink
|
Comments (0)
17
DNN Check for Authentication and Redirect to Login Page
posted on April 17, 2014 06:44
Note that you must define a login page in the Admin/Site Settings module. if (!IsPostBack) { if (UserId == -1) { Response.Redirect(Globals.Naviga...
[Read the rest of this article...]
Posted in:
C Sharp - C#
,
DNN
,
Modules
,
Custom Modules
Actions:
E-mail
|
Permalink
|
Comments (0)
13
Generate QueryString Parameters
posted on April 13, 2014 05:34
protected static string GenerateQueryStringParameters(HttpRequest request, params string[] queryStringKeys) { StringBuilder queryS...
[Read the rest of this article...]
Posted in:
C Sharp - C#
,
private void function()
Actions:
E-mail
|
Permalink
|
Comments (0)