I have a webform that should only be available for authenticated users. When an unauthorised user tries to access this form, he should get the message "You must login or register to view this form.". Indeed, this message shows on several PC's on which I have tested this webform. However, on my own PC, the message "You have already submitted this form." appears. I have created this form on my PC and submitted several tests. I am sure I once saw the request to login or register, but this is not the case anymore. The cash of my browser is clean.

Comments

Liam Morland’s picture

joeri.theelen’s picture

No, I don't think it is a duplicate. I read that thread very carefully and what I am facing seems to be something else. Anyway, I did the test again trying to access the webform unauthorised on-line but at home (different IP-address) and it seems I cannot reproduce it. All I can think of is that this has got to do something with IP-address caching, probably on the Drupal server (which I am not responsible for). I'll try again tomorrow at work and if it is solved, I'll close this thread as solved.

joeri.theelen’s picture

The problem remains. For one reason or another, when I try to access that webform on my PC (several browsers) when I am in the network of my employer, I get the message that I already have submitted the webform in stead of a request to login first. Trying this on other PC in my company's network, the message is ok (request to login). This makes no sense to me.

joeri.theelen’s picture

Status: Closed (duplicate) » Closed (fixed)

Ok, my problem remains but it may not be worth the effort looking into to. I have a workaround using the NodeAccess module to block unauthorised visitors from accessing that particular Webform. I'll close the thread.