Developer forum

Forum » Development » Getting logged out of Admin when using Custom Module

Getting logged out of Admin when using Custom Module

Kasper Vesth
Reply

Hi everyone!

During the years I have been working with DW I have come across a weird "bug" a couple of times, and now is the time to ask the community what the problem could be.

When I make a custom module (it can be any custom module, but the latest incident was involving a module that made a custom product import), and try to do something, anything, in it, I sometimes get logged out without warning. It is seemingly random, and happens when using "dummy"-modules without any real functionality as well. As it seems to be random I can't really provide any steps you can use to reenact it, but I was wondering if anyone else have experiences this, and hopefully get a solution so I can make sure it doesn't happen in the future :)

/Kasper


Replies

 
Jonas Mersholm
Reply

Whenever you uploade a new .dll to the bin folder, DW will log you out of the administration area. Is this your issue?

 
Martin Nielsen
Reply

Setting "Rember me" on the login screen, can prevent this in many cases. And this might explain that it only happens once in a while.

 
Kasper Vesth
Reply

Hi, and sorry for not responding :) Apparently the DW mails went straight to my spam folder so I just saw the notifications now.

The problem is that after I have uploadet a new dll I get logged out, but then when I log in and try to use the module I get logged out again.. This seems to be happening somewhat randomly, but once the problem starts it persists until I have reset the IIS (which usually fixes the problem)..

 

You must be logged in to post in the forum