SPRedirectWithID on anonymous site

Sep 2, 2010 at 12:21 PM

Hi Marc,

 

Quick question. Im encountering a problem on the SPRedirectWithID function. My form hangs and i noticed that the id on the query string is 0. this is on an anonymous site. But if i use my admin account, it works fine. my question, is this permission related or some sort? i have setup anonymous access to have add/view rights. Please help might be missing somethng

 

thanks

Coordinator
Sep 9, 2010 at 2:52 AM

Joe:

Sorry for the delayed reply. SPRedirectWithID isn't going to work as it stands in an anonymous situation. The function looks for the latest ID which was created by the current user to determine when the new item has been created. If users are anonymous, this won't work.

M.