View Single Post
Old 12 Jul 2010, 09:32
ranz ranz is offline
Join Date: Dec 2005
VB4 Custom Page: URL redirect after Login OR Register


I'm making a VB4 custom page, and I want it to allow people to fill out the form, but then after submitting it will check if they're logged in and redirect them to Register or Login.

I can get this to work using this code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

However, what I need is it to submit the form after successful login or registration.

I've been looking at the VB API and code. I can see that in Registration page, there is a <input type="hidden"> field for URL redirection. but you can't add params to it (or that I could see).

And what about login? how do I pass the URL (including params) to redirect back?

The script can accept something like:


(the security of it will force back to login/register if not)

Can somebody provide me with some direction ...
vb site: Bub Club | hosting on: Server World
Reply With Quote