RE: FN-FORUM .Net help please
date posted 4th December 2002 16:13
Darran,
You're an absolute star!
That works a treat. We used:
Imports System.Web.HttpContext
Namespace test
Public Class test
Dim objContext As System.Web.HttpContext
objContext = System.Web.HttpContext.Current
objContext.Response.Redirect("default.asp")
End Class
End Namespace
Thanks again,
Pete
_________________________________________
P e t e r E b d o n
Professional Software Engineering Ltd
Microsoft Certified Professional
Email : [EMAIL REMOVED]
Tel : +44(0)1235-227279
Fax : +44(0)1235-227280
Mobile : +44(0)7973-178945
Web : www.pseltd.com
>How about this then? I've not tested it, but it looks like it could be
going in the right direction.
>
>There's a static property on the System.Web.HttpContext class called
Current. This is documented as returning the
>HttpContext object for the current HTTP request. The HttpContext
object then has public properties for Request,
>Response, Session, Server, etc.