Forum  Commercial Foru...  Commercial Foru...  New User Verification
Previous Previous
 
Next Next
New Post 2/5/2010 3:00 PM
  derekmhart@yahoo.com
685 posts
1st Level Poster


Re: New User Verification 
Modified By derekmhart@yahoo.com  on 2/5/2010 6:22:43 PM)

Tried playing around with this. Could not get a different instance to load with:

http://localhost:1707/Main.wgx?vwginstance=2

This just hangs the application. Should that work? It's not.

The main thing I want to do is allow a user to run a new user login link to verify the email account. And if another instance happens to be running, the link still works to validate the account, and does not go "into" the current session, bypassing what the link was supposed to do. But it does not even work that well. Because the VWG login form has already been used for a user a log on, the link just skips the logon page and goes straight into the MainForm. I am thinking I need to just make a plain old asp.net page with some text on it to validate the user (since I believe asp.net pages are outside of the login process unless I change that). Or is there a way to use a VWG page, maybe call another Main Form to do this validation. Would that be a good way? Is there a way to have only one VWG form not under the control of the login process?

 

 
New Post 2/5/2010 3:55 PM
  palli
11189 posts
1st Level Poster




Re: New User Verification 

Hi Derek,

I just tested http://mysite/Form1.wgx and then http://mysite/Form1.wgx?vwginstance=2 and I get a new context created with no hang in my app. Tested both on 6.3.14 and 6.4.0Beta1c and all worked well.

In version 6.4 you have the option of setting authentication and authentication type for individual forms. You can also have different authentication for different forms, meaning you can have user A logged in to form A and user B logged into form B. See the Wiki Authentication page for more details and sample of this.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 2/5/2010 5:30 PM
  derekmhart@yahoo.com
685 posts
1st Level Poster


Re: New User Verification 

This process seems to work for me also, until I log into the VWG app in the first browser window. Then the second one is truly tied into the first. Then I try to log off in one and see if it is truly separate. Are you running this test with a real login and setting Isloggedin to true, and seeing if the other window can stay logged out?

 
New Post 2/6/2010 4:06 AM
  palli
11189 posts
1st Level Poster




Re: New User Verification 

Hi Derek,

With the 6.3.x application wide authentication of setting VWGContext.Current.Session.IsLoggedOn, this is understandable, as you are setting the Session based variable IsLoggedOn to true or false. In that sense, these to "instances" of the form are both affected by the IsLoggedOn setting.

For version 6.4, this would be possible though, by not using the VWGContext.Current.Session.IsLoggedOn, but the context based VWGContext.Current.IsLoggedOn.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 2/8/2010 11:47 AM
  derekmhart@yahoo.com
685 posts
1st Level Poster


Re: New User Verification 

OK, since I am not going to be ready to move to 6.4 yet, would you suggest that I just load a different page, such as an asp.net page for user verifications? Any other ideas? I guess loading my original application is not necessary on a link that just verifies. I could put a link on the asp.net page that redirects to the main VWG program. On the right track?

 
Previous Previous
 
Next Next
  Forum  Commercial Foru...  Commercial Foru...  New User Verification
CompanionKit Bottom
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS