Login redirect borked

Every now and then after forum login, instead of getting to the page i was looking at, I end up looking at different images that seem like attachments to posts (urls say “action=dlattach” etc). Won’t post a screen shot here because I have no idea if the images are related to public or private messages.