ASP.NET

Move website to subfolder

Posted on

Recently I was creating a website on my computer (localhost). There I could work with paths that looked like this: /Styles/images/image.png This works perfectly when running it on my local pc. There the website structure looks like this: http://localhost/ http://localhost/Styles http://localhost/Styles/images http://localhost/Styles/images/images.png But when I tried to copy it to my server it didnt work. […]

ASP.NET

Session is null in HttpHandler

Posted on

Last I was working on a project and had the following scenario. There was a form on localhost:8081 where 2 parameters were filled in. The action for this form was localhost/eventHandler In the eventHandler I used the PreRequestHandlerExecute method to execute my code. Here I wanted to put one of the parameters into the session. […]