Forum  General Visual ...  How do I...?  How to override the Timeout.wgx page
Previous Previous
 
Next Next
New Post 5/29/2009 12:00 PM
Resolved
  jcwelch
4 posts
No Ranking


How to override the Timeout.wgx page 

I have figured out how to configure the appropriate pieces of the web.config for session timeout and am now being redirected to the Timeout.wgx page.  As  you can imagine I'd rather be redirected to our login page.  I've seen some posts on overriding the Timeout.wgx in a theme, then setting the Context.Session.IsLoggedOn property to false.  For the life of me, I can't seem to find enough good documentation on implementing this.  Can someone point me in the right direction?  I'm using VWG 6.3.6.

Regards,

M

 
New Post 6/4/2009 4:46 AM
  izi.versano
191 posts
5th Level Poster




Re: How to override the Timeout.wgx page 

Hello ,

try this.Context.Redirect("yourpage.wgx");

let me know if it fixed your problem


Regards,

Izi Versano
The Visual WebGui team

 
New Post 6/4/2009 1:43 PM
  jcwelch
4 posts
No Ranking


Re: How to override the Timeout.wgx page 

I'd love to do something like that, but where do I do it?

 
New Post 6/4/2009 1:59 PM
  rdhatch
635 posts
1st Level Poster




Re: How to override the Timeout.wgx page 

Hi JCWelch,

In your Timeout.wgx page's Page_Load event - simply call Me.Context.Redirect("Login.wgx")

Hope this helps!

Ryan


Ryan D. Hatch, VWG MVP
GeniusCode.net | VWG Community Frameworks | VWG Wiki
 
New Post 6/4/2009 2:15 PM
  jcwelch
4 posts
No Ranking


Re: How to override the Timeout.wgx page 

Ahh... but I don't have a Timeout.wgx page.  If you ready my original post, I've been having issues trying to figure out how to override the Timeout.wgx page.

Thanks,

M

 
Previous Previous
 
Next Next
  Forum  General Visual ...  How do I...?  How to override the Timeout.wgx page
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