Hello,
I created a custom registration page for my site by copying and modifying register.tcl (I hope this was the right approach).
I seem to be able to "break" the page by registering a user, then using the back button and attempting to register another user. What happens is, it generates the same user_id that it just generated for the previous successful attempt, thus registration fails. Is this correct behavior? Why?
I guess what I expected to happen was for the user to be logged out, and then a unique user_id generated. At the top of the script, I tried to ensure this with an ad_user_logout (the only proc I could find with a name for what I wanted to do), but that doesn't seem to work (or, if it does, it still generates the non-unique id).
I have no idea if this is the same behavior as with an unmodified register.tcl, but I assume it is, as my version isn't heavily modified.
Any ideas or insights are appreciated - thanks.