C# - Path.Combine

When using path.Combine if the second argument starts with a /. the first path is ignored and will give a path based on the C: drive.

var path = Path.Combine(firstpath,$@"\myfolder\myfile.txt");

will not return will return .

Meteor - Session variables

Session variables are easy to use in meteor. the can ve get and set from the javascript code using:

Session.set('variableName', true);

on your HTML you can reference the get method easily by:

<template name="admin">
    {{#if $.Session.get 'variableName'}}
        I am here
        I am not here
Code dreamer, Creator of random stuff & sharing wizard


comments powered by Disqus