Forum  General Visual ...  How do I...?  Help on session logout
Previous Previous
 
Next Next
New Post 3/24/2009 8:05 AM
  jayhobbs
1664 posts
1st Level Poster




Re: Help on session logout 

Hi Jorge,

In VB that is

Public Sub MyMethod()
    AddHandler Application.ThreadSuspend, AddressOf Application_ThreadSuspend
End Sub

Private Sub Application_ThreadSuspend(ByVal sender As Object, ByVal e As EventArgs)
    CType(VWGContext.Current, IContextTerminate).Terminate(True)
End Sub

If put a button on a page and click it then when the user clicks it the button.click event is fired.

We can also fire an event by using the Raise Event.

To find out more about raising events see the following MSDN page

http://msdn.microsoft.com/en-us/library/wkzf914z(VS.71).aspx

Jay

 

 
New Post 3/24/2009 1:39 PM
  palli
11824 posts
1st Level Poster




Re: Help on session logout 

Hi guys,

Jay, as always, thanks a lot for your help.

Jorge, if you need any more help on the subject, feel free to ask.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  General Visual ...  How do I...?  Help on session logout
Azure banner
.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