473,661 Members | 2,502 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Handling refreshes from browser

I was looking for a way to handle refreshes (user pressed refresh button)
and found a piece of code to check if a Web page was refreshed but I can't
get it to work.

The code is:
*************** *************** *************** ***************
Namespace StevenBey.Web.U I

Public Class Page
Inherits System.Web.UI.P age
Private _refreshState As Boolean
Private _isRefresh As Boolean
Public ReadOnly Property IsRefresh() As Boolean
Get
Return _isRefresh
End Get
End Property
Protected Overrides Sub LoadViewState(s avedState As Object)
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))
_isRefresh = _refreshState = CBool(Session(" __ISREFRESH"))
End Sub 'LoadViewState
Protected Overrides Function SaveViewState() As Object
Session("__ISRE FRESH") = _refreshState
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates
End Function 'SaveViewState
End Class 'Page

End NameSpace
*************** *************** *************** ***************

If I do a:

trace.warn("is Refresh = " & Page.IsRefresh)

or

trace.warn("is Refresh = " & IsRefresh)

I get the error:

BC30456 'IsRefresh' is not a member of 'System.Web.UI. Page'

I took the compiled version (StevenBey.Web. UI.dll) and put it in my Bin
directory.

If you look at trace page you won't see __ISREFRESH?

Is there something else I need to do to get this to work?

Thanks,

Tom

Aug 21 '06 #1
15 1981
Hi Tom,

see the remarks here made by a User:

http://jarednevans.typepad.com/techn..._techno_b.html

this method seems to fail when back button is pressed. You can download
a demo.

Tommaso

tshad ha scritto:
I was looking for a way to handle refreshes (user pressed refresh button)
and found a piece of code to check if a Web page was refreshed but I can't
get it to work.

The code is:
*************** *************** *************** ***************
Namespace StevenBey.Web.U I

Public Class Page
Inherits System.Web.UI.P age
Private _refreshState As Boolean
Private _isRefresh As Boolean
Public ReadOnly Property IsRefresh() As Boolean
Get
Return _isRefresh
End Get
End Property
Protected Overrides Sub LoadViewState(s avedState As Object)
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))
_isRefresh = _refreshState = CBool(Session(" __ISREFRESH"))
End Sub 'LoadViewState
Protected Overrides Function SaveViewState() As Object
Session("__ISRE FRESH") = _refreshState
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates
End Function 'SaveViewState
End Class 'Page

End NameSpace
*************** *************** *************** ***************

If I do a:

trace.warn("is Refresh = " & Page.IsRefresh)

or

trace.warn("is Refresh = " & IsRefresh)

I get the error:

BC30456 'IsRefresh' is not a member of 'System.Web.UI. Page'

I took the compiled version (StevenBey.Web. UI.dll) and put it in my Bin
directory.

If you look at trace page you won't see __ISREFRESH?

Is there something else I need to do to get this to work?

Thanks,

Tom
Aug 21 '06 #2
I was able to get it to work after closer reading of the article.

*************** *************** *************** *************** *******
Namespace MyFunctions

Public Class Page
Inherits System.Web.UI.P age
Private _refreshState As Boolean
Private _isRefresh As Boolean
Public ReadOnly Property IsRefresh() As Boolean
Get
Return _isRefresh
End Get
End Property
Protected Overrides Sub LoadViewState(s avedState As Object)
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))
_isRefresh = _refreshState = CBool(Session(" __ISREFRESH"))
End Sub 'LoadViewState
Protected Overrides Function SaveViewState() As Object
Session("__ISRE FRESH") = _refreshState
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates
End Function 'SaveViewState

End Class 'Page

End NameSpace
*************** *************** *************** **

In my page, I have to add an inherits:

<%@ Page Language="VB" trace="true" ContentType="te xt/html"
ResponseEncodin g="iso-8859-1" Inherits="MyFun ctions.Page"%>
....
trace.warn("is Refresh = " & IsRefresh())

Then it works.

I am confused as to the code with the "allStates" and how it works.

In LoadViewState:
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))

It seems to be getting the savedState from the parameters list, then I think
it does the normal LoadViewState passing allStates(0) (which is really just
savedState - so why not just pass savedState??).

Also, what is allStates(1)?

In SaveViewState:
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates

I assume the MyBase.SaveView State() is just doing the normal SaveViewState
and passes back the changed ViewState into allStates(0), what is
allStates(1) and why are we passing back allStates - does this overwrite the
ViewState that was written out by MyBase.SaveView State()?

Thanks,

Tom

<to************ **@uniroma1.itw rote in message
news:11******** *************@m 73g2000cwd.goog legroups.com...
Hi Tom,

see the remarks here made by a User:

http://jarednevans.typepad.com/techn..._techno_b.html

this method seems to fail when back button is pressed. You can download
a demo.

Tommaso

tshad ha scritto:
>I was looking for a way to handle refreshes (user pressed refresh button)
and found a piece of code to check if a Web page was refreshed but I
can't
get it to work.

The code is:
************** *************** *************** *************** *
Namespace StevenBey.Web.U I

Public Class Page
Inherits System.Web.UI.P age
Private _refreshState As Boolean
Private _isRefresh As Boolean
Public ReadOnly Property IsRefresh() As Boolean
Get
Return _isRefresh
End Get
End Property
Protected Overrides Sub LoadViewState(s avedState As Object)
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))
_isRefresh = _refreshState = CBool(Session(" __ISREFRESH"))
End Sub 'LoadViewState
Protected Overrides Function SaveViewState() As Object
Session("__ISRE FRESH") = _refreshState
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates
End Function 'SaveViewState
End Class 'Page

End NameSpace
************** *************** *************** *************** *

If I do a:

trace.warn("is Refresh = " & Page.IsRefresh)

or

trace.warn("is Refresh = " & IsRefresh)

I get the error:

BC30456 'IsRefresh' is not a member of 'System.Web.UI. Page'

I took the compiled version (StevenBey.Web. UI.dll) and put it in my Bin
directory.

If you look at trace page you won't see __ISREFRESH?

Is there something else I need to do to get this to work?

Thanks,

Tom

Aug 22 '06 #3
But what about the back button problem.
I think that user was right. It doesn't work in that case.

The (almost) funny thing is that a guy has copied this article and
published it on Code Project site.
He also copied the bugs clearly ... :)

Tommaso

tshad ha scritto:
I was able to get it to work after closer reading of the article.

*************** *************** *************** *************** *******
Namespace MyFunctions

Public Class Page
Inherits System.Web.UI.P age
Private _refreshState As Boolean
Private _isRefresh As Boolean
Public ReadOnly Property IsRefresh() As Boolean
Get
Return _isRefresh
End Get
End Property
Protected Overrides Sub LoadViewState(s avedState As Object)
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))
_isRefresh = _refreshState = CBool(Session(" __ISREFRESH"))
End Sub 'LoadViewState
Protected Overrides Function SaveViewState() As Object
Session("__ISRE FRESH") = _refreshState
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates
End Function 'SaveViewState

End Class 'Page

End NameSpace
*************** *************** *************** **

In my page, I have to add an inherits:

<%@ Page Language="VB" trace="true" ContentType="te xt/html"
ResponseEncodin g="iso-8859-1" Inherits="MyFun ctions.Page"%>
...
trace.warn("is Refresh = " & IsRefresh())

Then it works.

I am confused as to the code with the "allStates" and how it works.

In LoadViewState:
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))

It seems to be getting the savedState from the parameters list, then I think
it does the normal LoadViewState passing allStates(0) (which is really just
savedState - so why not just pass savedState??).

Also, what is allStates(1)?

In SaveViewState:
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates

I assume the MyBase.SaveView State() is just doing the normal SaveViewState
and passes back the changed ViewState into allStates(0), what is
allStates(1) and why are we passing back allStates - does this overwrite the
ViewState that was written out by MyBase.SaveView State()?

Thanks,

Tom

<to************ **@uniroma1.itw rote in message
news:11******** *************@m 73g2000cwd.goog legroups.com...
Hi Tom,

see the remarks here made by a User:

http://jarednevans.typepad.com/techn..._techno_b.html

this method seems to fail when back button is pressed. You can download
a demo.

Tommaso

tshad ha scritto:
I was looking for a way to handle refreshes (user pressed refresh button)
and found a piece of code to check if a Web page was refreshed but I
can't
get it to work.

The code is:
*************** *************** *************** ***************
Namespace StevenBey.Web.U I

Public Class Page
Inherits System.Web.UI.P age
Private _refreshState As Boolean
Private _isRefresh As Boolean
Public ReadOnly Property IsRefresh() As Boolean
Get
Return _isRefresh
End Get
End Property
Protected Overrides Sub LoadViewState(s avedState As Object)
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))
_isRefresh = _refreshState = CBool(Session(" __ISREFRESH"))
End Sub 'LoadViewState
Protected Overrides Function SaveViewState() As Object
Session("__ISRE FRESH") = _refreshState
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates
End Function 'SaveViewState
End Class 'Page

End NameSpace
*************** *************** *************** ***************

If I do a:

trace.warn("is Refresh = " & Page.IsRefresh)

or

trace.warn("is Refresh = " & IsRefresh)

I get the error:

BC30456 'IsRefresh' is not a member of 'System.Web.UI. Page'

I took the compiled version (StevenBey.Web. UI.dll) and put it in my Bin
directory.

If you look at trace page you won't see __ISREFRESH?

Is there something else I need to do to get this to work?

Thanks,

Tom
Aug 22 '06 #4
<to************ **@uniroma1.itw rote in message
news:11******** **************@ b28g2000cwb.goo glegroups.com.. .
But what about the back button problem.
I think that user was right. It doesn't work in that case.
I know that that is also a problem and I am going to address that problem in
a bit. But I needed to get the refresh problem taken care of right away.
>
The (almost) funny thing is that a guy has copied this article and
published it on Code Project site.
He also copied the bugs clearly ... :)
I agree.

But that allows someone else to at least get a starting point to work from.

Tom
>
Tommaso

tshad ha scritto:
>I was able to get it to work after closer reading of the article.

************** *************** *************** *************** ********
Namespace MyFunctions

Public Class Page
Inherits System.Web.UI.P age
Private _refreshState As Boolean
Private _isRefresh As Boolean
Public ReadOnly Property IsRefresh() As Boolean
Get
Return _isRefresh
End Get
End Property
Protected Overrides Sub LoadViewState(s avedState As Object)
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))
_isRefresh = _refreshState = CBool(Session(" __ISREFRESH"))
End Sub 'LoadViewState
Protected Overrides Function SaveViewState() As Object
Session("__ISRE FRESH") = _refreshState
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates
End Function 'SaveViewState

End Class 'Page

End NameSpace
************** *************** *************** ***

In my page, I have to add an inherits:

<%@ Page Language="VB" trace="true" ContentType="te xt/html"
ResponseEncodi ng="iso-8859-1" Inherits="MyFun ctions.Page"%>
...
trace.warn(" is Refresh = " & IsRefresh())

Then it works.

I am confused as to the code with the "allStates" and how it works.

In LoadViewState:
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))

It seems to be getting the savedState from the parameters list, then I
think
it does the normal LoadViewState passing allStates(0) (which is really
just
savedState - so why not just pass savedState??).

Also, what is allStates(1)?

In SaveViewState:
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates

I assume the MyBase.SaveView State() is just doing the normal
SaveViewStat e
and passes back the changed ViewState into allStates(0), what is
allStates(1) and why are we passing back allStates - does this overwrite
the
ViewState that was written out by MyBase.SaveView State()?

Thanks,

Tom

<to*********** ***@uniroma1.it wrote in message
news:11******* **************@ m73g2000cwd.goo glegroups.com.. .
Hi Tom,

see the remarks here made by a User:

http://jarednevans.typepad.com/techn..._techno_b.html

this method seems to fail when back button is pressed. You can download
a demo.

Tommaso

tshad ha scritto:

I was looking for a way to handle refreshes (user pressed refresh
button)
and found a piece of code to check if a Web page was refreshed but I
can't
get it to work.

The code is:
************** *************** *************** *************** *
Namespace StevenBey.Web.U I

Public Class Page
Inherits System.Web.UI.P age
Private _refreshState As Boolean
Private _isRefresh As Boolean
Public ReadOnly Property IsRefresh() As Boolean
Get
Return _isRefresh
End Get
End Property
Protected Overrides Sub LoadViewState(s avedState As Object)
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))
_isRefresh = _refreshState = CBool(Session(" __ISREFRESH"))
End Sub 'LoadViewState
Protected Overrides Function SaveViewState() As Object
Session("__ISRE FRESH") = _refreshState
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates
End Function 'SaveViewState
End Class 'Page

End NameSpace
************** *************** *************** *************** *

If I do a:

trace.warn("is Refresh = " & Page.IsRefresh)

or

trace.warn("is Refresh = " & IsRefresh)

I get the error:

BC30456 'IsRefresh' is not a member of 'System.Web.UI. Page'

I took the compiled version (StevenBey.Web. UI.dll) and put it in my
Bin
directory.

If you look at trace page you won't see __ISREFRESH?

Is there something else I need to do to get this to work?

Thanks,

Tom

Aug 23 '06 #5

"tshad" <ts**********@f tsolutions.comw rote in message
news:%2******** **********@TK2M SFTNGP05.phx.gb l...
<to************ **@uniroma1.itw rote in message
news:11******** **************@ b28g2000cwb.goo glegroups.com.. .
>But what about the back button problem.
I think that user was right. It doesn't work in that case.
Actually, I did some work with the program and found that it also doesn't
work on the inital page. It only works for PostBacks.

Looking into it I found that since LoadViewState is not called on an initial
page load (makes sense as there would be no ViewState saved here), there is
nothing to test.

I need to find some other way to make it work or find a way to find out if
the initial page.

Tom
I know that that is also a problem and I am going to address that problem
in a bit. But I needed to get the refresh problem taken care of right
away.
>>
The (almost) funny thing is that a guy has copied this article and
published it on Code Project site.
He also copied the bugs clearly ... :)

I agree.

But that allows someone else to at least get a starting point to work
from.

Tom
>>
Tommaso

tshad ha scritto:
>>I was able to get it to work after closer reading of the article.

************* *************** *************** *************** *********
Namespace MyFunctions

Public Class Page
Inherits System.Web.UI.P age
Private _refreshState As Boolean
Private _isRefresh As Boolean
Public ReadOnly Property IsRefresh() As Boolean
Get
Return _isRefresh
End Get
End Property
Protected Overrides Sub LoadViewState(s avedState As Object)
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))
_isRefresh = _refreshState = CBool(Session(" __ISREFRESH"))
End Sub 'LoadViewState
Protected Overrides Function SaveViewState() As Object
Session("__ISRE FRESH") = _refreshState
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates
End Function 'SaveViewState

End Class 'Page

End NameSpace
************* *************** *************** ****

In my page, I have to add an inherits:

<%@ Page Language="VB" trace="true" ContentType="te xt/html"
ResponseEncod ing="iso-8859-1" Inherits="MyFun ctions.Page"%>
...
trace.warn("i s Refresh = " & IsRefresh())

Then it works.

I am confused as to the code with the "allStates" and how it works.

In LoadViewState:
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))

It seems to be getting the savedState from the parameters list, then I
think
it does the normal LoadViewState passing allStates(0) (which is really
just
savedState - so why not just pass savedState??).

Also, what is allStates(1)?

In SaveViewState:
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates

I assume the MyBase.SaveView State() is just doing the normal
SaveViewSta te
and passes back the changed ViewState into allStates(0), what is
allStates(1 ) and why are we passing back allStates - does this overwrite
the
ViewState that was written out by MyBase.SaveView State()?

Thanks,

Tom

<to********** ****@uniroma1.i twrote in message
news:11****** *************** @m73g2000cwd.go oglegroups.com. ..
Hi Tom,

see the remarks here made by a User:

http://jarednevans.typepad.com/techn..._techno_b.html

this method seems to fail when back button is pressed. You can
download
a demo.

Tommaso

tshad ha scritto:

I was looking for a way to handle refreshes (user pressed refresh
button)
and found a piece of code to check if a Web page was refreshed but I
can't
get it to work.

The code is:
************* *************** *************** *************** **
Namespace StevenBey.Web.U I

Public Class Page
Inherits System.Web.UI.P age
Private _refreshState As Boolean
Private _isRefresh As Boolean
Public ReadOnly Property IsRefresh() As Boolean
Get
Return _isRefresh
End Get
End Property
Protected Overrides Sub LoadViewState(s avedState As Object)
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))
_isRefresh = _refreshState = CBool(Session(" __ISREFRESH"))
End Sub 'LoadViewState
Protected Overrides Function SaveViewState() As Object
Session("__ISRE FRESH") = _refreshState
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates
End Function 'SaveViewState
End Class 'Page

End NameSpace
************* *************** *************** *************** **

If I do a:

trace.warn("is Refresh = " & Page.IsRefresh)

or

trace.warn("is Refresh = " & IsRefresh)

I get the error:

BC30456 'IsRefresh' is not a member of 'System.Web.UI. Page'

I took the compiled version (StevenBey.Web. UI.dll) and put it in my
Bin
directory.

If you look at trace page you won't see __ISREFRESH?

Is there something else I need to do to get this to work?

Thanks,

Tom


Aug 24 '06 #6
Hi Tom,

I am afraid that is not exactly an "elementary " topic. Here is a more
authoritative source:

http://msdn.microsoft.com/msdnmag/is...8/CuttingEdge/

Let us know about the best solution... :)

Tommaso

tshad ha scritto:
"tshad" <ts**********@f tsolutions.comw rote in message
news:%2******** **********@TK2M SFTNGP05.phx.gb l...
<to************ **@uniroma1.itw rote in message
news:11******** **************@ b28g2000cwb.goo glegroups.com.. .
But what about the back button problem.
I think that user was right. It doesn't work in that case.

Actually, I did some work with the program and found that it also doesn't
work on the inital page. It only works for PostBacks.

Looking into it I found that since LoadViewState is not called on an initial
page load (makes sense as there would be no ViewState saved here), there is
nothing to test.

I need to find some other way to make it work or find a way to find out if
the initial page.

Tom
I know that that is also a problem and I am going to address that problem
in a bit. But I needed to get the refresh problem taken care of right
away.
>
The (almost) funny thing is that a guy has copied this article and
published it on Code Project site.
He also copied the bugs clearly ... :)
I agree.

But that allows someone else to at least get a starting point to work
from.

Tom
>
Tommaso

tshad ha scritto:

I was able to get it to work after closer reading of the article.

************** *************** *************** *************** ********
Namespace MyFunctions

Public Class Page
Inherits System.Web.UI.P age
Private _refreshState As Boolean
Private _isRefresh As Boolean
Public ReadOnly Property IsRefresh() As Boolean
Get
Return _isRefresh
End Get
End Property
Protected Overrides Sub LoadViewState(s avedState As Object)
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))
_isRefresh = _refreshState = CBool(Session(" __ISREFRESH"))
End Sub 'LoadViewState
Protected Overrides Function SaveViewState() As Object
Session("__ISRE FRESH") = _refreshState
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates
End Function 'SaveViewState

End Class 'Page

End NameSpace
************** *************** *************** ***

In my page, I have to add an inherits:

<%@ Page Language="VB" trace="true" ContentType="te xt/html"
ResponseEncodi ng="iso-8859-1" Inherits="MyFun ctions.Page"%>
...
trace.warn(" is Refresh = " & IsRefresh())

Then it works.

I am confused as to the code with the "allStates" and how it works.

In LoadViewState:
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))

It seems to be getting the savedState from the parameters list, then I
think
it does the normal LoadViewState passing allStates(0) (which is really
just
savedState - so why not just pass savedState??).

Also, what is allStates(1)?

In SaveViewState:
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates

I assume the MyBase.SaveView State() is just doing the normal
SaveViewStat e
and passes back the changed ViewState into allStates(0), what is
allStates(1) and why are we passing back allStates - does this overwrite
the
ViewState that was written out by MyBase.SaveView State()?

Thanks,

Tom

<to*********** ***@uniroma1.it wrote in message
news:11******* **************@ m73g2000cwd.goo glegroups.com.. .
Hi Tom,

see the remarks here made by a User:

http://jarednevans.typepad.com/techn..._techno_b.html

this method seems to fail when back button is pressed. You can
download
a demo.

Tommaso

tshad ha scritto:

I was looking for a way to handle refreshes (user pressed refresh
button)
and found a piece of code to check if a Web page was refreshed but I
can't
get it to work.

The code is:
************** *************** *************** *************** *
Namespace StevenBey.Web.U I

Public Class Page
Inherits System.Web.UI.P age
Private _refreshState As Boolean
Private _isRefresh As Boolean
Public ReadOnly Property IsRefresh() As Boolean
Get
Return _isRefresh
End Get
End Property
Protected Overrides Sub LoadViewState(s avedState As Object)
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))
_isRefresh = _refreshState = CBool(Session(" __ISREFRESH"))
End Sub 'LoadViewState
Protected Overrides Function SaveViewState() As Object
Session("__ISRE FRESH") = _refreshState
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates
End Function 'SaveViewState
End Class 'Page

End NameSpace
************** *************** *************** *************** *

If I do a:

trace.warn("is Refresh = " & Page.IsRefresh)

or

trace.warn("is Refresh = " & IsRefresh)

I get the error:

BC30456 'IsRefresh' is not a member of 'System.Web.UI. Page'

I took the compiled version (StevenBey.Web. UI.dll) and put it in my
Bin
directory.

If you look at trace page you won't see __ISREFRESH?

Is there something else I need to do to get this to work?

Thanks,

Tom

Aug 24 '06 #7
<to************ **@uniroma1.itw rote in message
news:11******** **************@ i3g2000cwc.goog legroups.com...
Hi Tom,

I am afraid that is not exactly an "elementary " topic. Here is a more
authoritative source:

http://msdn.microsoft.com/msdnmag/is...8/CuttingEdge/
I looked there, but the article is about Script Callbacks.

That was interesting also, as I was looking at doing this (like Ajax) but in
..net.

I knew you could do this in .net 1.1, but if what this is saying is correct
then I can't do it.

"ASP.NET 2.0 provides a built-in mechanism for client callbacks based on the
services of a COM object that ships with Internet Explorer 5.0 and later. By
using the same object, you can implement a script callback mechanism in
ASP.NET 1.x as well"

I don't want to do it if you have to depend on the user using IE.

Thanks,

Tom
>
Let us know about the best solution... :)

Tommaso

tshad ha scritto:
>"tshad" <ts**********@f tsolutions.comw rote in message
news:%2******* ***********@TK2 MSFTNGP05.phx.g bl...
<to************ **@uniroma1.itw rote in message
news:11******** **************@ b28g2000cwb.goo glegroups.com.. .
But what about the back button problem.
I think that user was right. It doesn't work in that case.

Actually, I did some work with the program and found that it also doesn't
work on the inital page. It only works for PostBacks.

Looking into it I found that since LoadViewState is not called on an
initial
page load (makes sense as there would be no ViewState saved here), there
is
nothing to test.

I need to find some other way to make it work or find a way to find out
if
the initial page.

Tom
I know that that is also a problem and I am going to address that
problem
in a bit. But I needed to get the refresh problem taken care of right
away.
The (almost) funny thing is that a guy has copied this article and
published it on Code Project site.
He also copied the bugs clearly ... :)

I agree.

But that allows someone else to at least get a starting point to work
from.

Tom
Tommaso

tshad ha scritto:

I was able to get it to work after closer reading of the article.

************* *************** *************** *************** *********
Namespace MyFunctions

Public Class Page
Inherits System.Web.UI.P age
Private _refreshState As Boolean
Private _isRefresh As Boolean
Public ReadOnly Property IsRefresh() As Boolean
Get
Return _isRefresh
End Get
End Property
Protected Overrides Sub LoadViewState(s avedState As Object)
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))
_isRefresh = _refreshState = CBool(Session(" __ISREFRESH"))
End Sub 'LoadViewState
Protected Overrides Function SaveViewState() As Object
Session("__ISRE FRESH") = _refreshState
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates
End Function 'SaveViewState

End Class 'Page

End NameSpace
************* *************** *************** ****

In my page, I have to add an inherits:

<%@ Page Language="VB" trace="true" ContentType="te xt/html"
ResponseEncod ing="iso-8859-1" Inherits="MyFun ctions.Page"%>
...
trace.warn("i s Refresh = " & IsRefresh())

Then it works.

I am confused as to the code with the "allStates" and how it works.

In LoadViewState:
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))

It seems to be getting the savedState from the parameters list, then
I
think
it does the normal LoadViewState passing allStates(0) (which is
really
just
savedState - so why not just pass savedState??).

Also, what is allStates(1)?

In SaveViewState:
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates

I assume the MyBase.SaveView State() is just doing the normal
SaveViewSta te
and passes back the changed ViewState into allStates(0), what is
allStates(1 ) and why are we passing back allStates - does this
overwrite
the
ViewState that was written out by MyBase.SaveView State()?

Thanks,

Tom

<to********** ****@uniroma1.i twrote in message
news:11****** *************** @m73g2000cwd.go oglegroups.com. ..
Hi Tom,

see the remarks here made by a User:

http://jarednevans.typepad.com/techn..._techno_b.html

this method seems to fail when back button is pressed. You can
download
a demo.

Tommaso

tshad ha scritto:

I was looking for a way to handle refreshes (user pressed refresh
button)
and found a piece of code to check if a Web page was refreshed but
I
can't
get it to work.

The code is:
************* *************** *************** *************** **
Namespace StevenBey.Web.U I

Public Class Page
Inherits System.Web.UI.P age
Private _refreshState As Boolean
Private _isRefresh As Boolean
Public ReadOnly Property IsRefresh() As Boolean
Get
Return _isRefresh
End Get
End Property
Protected Overrides Sub LoadViewState(s avedState As Object)
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))
_isRefresh = _refreshState = CBool(Session(" __ISREFRESH"))
End Sub 'LoadViewState
Protected Overrides Function SaveViewState() As Object
Session("__ISRE FRESH") = _refreshState
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates
End Function 'SaveViewState
End Class 'Page

End NameSpace
************* *************** *************** *************** **

If I do a:

trace.warn("is Refresh = " & Page.IsRefresh)

or

trace.warn("is Refresh = " & IsRefresh)

I get the error:

BC30456 'IsRefresh' is not a member of
'System.Web.U I.Page'

I took the compiled version (StevenBey.Web. UI.dll) and put it in
my
Bin
directory.

If you look at trace page you won't see __ISREFRESH?

Is there something else I need to do to get this to work?

Thanks,

Tom


Aug 24 '06 #8
Hi Tom,

I posted the wrong link. Here it is:

http://msdn.microsoft.com/library/de...rockaspnet.asp

"Trap the Browser Refresh
In an article originally published on aspnetPRO Magazine several months
ago, I outlined the steps needed to detect when the user presses the F5
browser button to refresh the current page. The page refresh is the
browser's response to a specific user action-hitting the F5 key or
clicking the toolbar button. The page refresh action is a sort of
internal browser operation, for which the browser doesn't provide any
external notification

see also:
http://www.joel.net/code/refresh_capture.aspx

Let me know if you find a definitive solution...

Tommaso

tshad ha scritto:
<to************ **@uniroma1.itw rote in message
news:11******** **************@ i3g2000cwc.goog legroups.com...
Hi Tom,

I am afraid that is not exactly an "elementary " topic. Here is a more
authoritative source:

http://msdn.microsoft.com/msdnmag/is...8/CuttingEdge/

I looked there, but the article is about Script Callbacks.

That was interesting also, as I was looking at doing this (like Ajax) but in
.net.

I knew you could do this in .net 1.1, but if what this is saying is correct
then I can't do it.

"ASP.NET 2.0 provides a built-in mechanism for client callbacks based on the
services of a COM object that ships with Internet Explorer 5.0 and later. By
using the same object, you can implement a script callback mechanism in
ASP.NET 1.x as well"

I don't want to do it if you have to depend on the user using IE.

Thanks,

Tom

Let us know about the best solution... :)

Tommaso

tshad ha scritto:
"tshad" <ts**********@f tsolutions.comw rote in message
news:%2******** **********@TK2M SFTNGP05.phx.gb l...
<to************ **@uniroma1.itw rote in message
news:11******** **************@ b28g2000cwb.goo glegroups.com.. .
But what about the back button problem.
I think that user was right. It doesn't work in that case.


Actually, I did some work with the program and found that it also doesn't
work on the inital page. It only works for PostBacks.

Looking into it I found that since LoadViewState is not called on an
initial
page load (makes sense as there would be no ViewState saved here), there
is
nothing to test.

I need to find some other way to make it work or find a way to find out
if
the initial page.

Tom

I know that that is also a problem and I am going to address that
problem
in a bit. But I needed to get the refresh problem taken care of right
away.


The (almost) funny thing is that a guy has copied this article and
published it on Code Project site.
He also copied the bugs clearly ... :)

I agree.

But that allows someone else to at least get a starting point to work
from.

Tom


Tommaso

tshad ha scritto:

I was able to get it to work after closer reading of the article.

************** *************** *************** *************** ********
Namespace MyFunctions

Public Class Page
Inherits System.Web.UI.P age
Private _refreshState As Boolean
Private _isRefresh As Boolean
Public ReadOnly Property IsRefresh() As Boolean
Get
Return _isRefresh
End Get
End Property
Protected Overrides Sub LoadViewState(s avedState As Object)
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))
_isRefresh = _refreshState = CBool(Session(" __ISREFRESH"))
End Sub 'LoadViewState
Protected Overrides Function SaveViewState() As Object
Session("__ISRE FRESH") = _refreshState
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates
End Function 'SaveViewState

End Class 'Page

End NameSpace
************** *************** *************** ***

In my page, I have to add an inherits:

<%@ Page Language="VB" trace="true" ContentType="te xt/html"
ResponseEncodi ng="iso-8859-1" Inherits="MyFun ctions.Page"%>
...
trace.warn(" is Refresh = " & IsRefresh())

Then it works.

I am confused as to the code with the "allStates" and how it works.

In LoadViewState:
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))

It seems to be getting the savedState from the parameters list, then
I
think
it does the normal LoadViewState passing allStates(0) (which is
really
just
savedState - so why not just pass savedState??).

Also, what is allStates(1)?

In SaveViewState:
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates

I assume the MyBase.SaveView State() is just doing the normal
SaveViewStat e
and passes back the changed ViewState into allStates(0), what is
allStates(1) and why are we passing back allStates - does this
overwrite
the
ViewState that was written out by MyBase.SaveView State()?

Thanks,

Tom

<to*********** ***@uniroma1.it wrote in message
news:11******* **************@ m73g2000cwd.goo glegroups.com.. .
Hi Tom,

see the remarks here made by a User:

http://jarednevans.typepad.com/techn..._techno_b.html

this method seems to fail when back button is pressed. You can
download
a demo.

Tommaso

tshad ha scritto:

I was looking for a way to handle refreshes (user pressed refresh
button)
and found a piece of code to check if a Web page was refreshed but
I
can't
get it to work.

The code is:
************** *************** *************** *************** *
Namespace StevenBey.Web.U I

Public Class Page
Inherits System.Web.UI.P age
Private _refreshState As Boolean
Private _isRefresh As Boolean
Public ReadOnly Property IsRefresh() As Boolean
Get
Return _isRefresh
End Get
End Property
Protected Overrides Sub LoadViewState(s avedState As Object)
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))
_isRefresh = _refreshState = CBool(Session(" __ISREFRESH"))
End Sub 'LoadViewState
Protected Overrides Function SaveViewState() As Object
Session("__ISRE FRESH") = _refreshState
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates
End Function 'SaveViewState
End Class 'Page

End NameSpace
************** *************** *************** *************** *

If I do a:

trace.warn("is Refresh = " & Page.IsRefresh)

or

trace.warn("is Refresh = " & IsRefresh)

I get the error:

BC30456 'IsRefresh' is not a member of
'System.Web.UI .Page'

I took the compiled version (StevenBey.Web. UI.dll) and put it in
my
Bin
directory.

If you look at trace page you won't see __ISREFRESH?

Is there something else I need to do to get this to work?

Thanks,

Tom
Aug 24 '06 #9
<to************ **@uniroma1.itw rote in message
news:11******** **************@ h48g2000cwc.goo glegroups.com.. .
Hi Tom,

I posted the wrong link. Here it is:

http://msdn.microsoft.com/library/de...rockaspnet.asp
I'll take a look at that to see what it says.
"Trap the Browser Refresh
In an article originally published on aspnetPRO Magazine several months
ago, I outlined the steps needed to detect when the user presses the F5
browser button to refresh the current page. The page refresh is the
browser's response to a specific user action-hitting the F5 key or
clicking the toolbar button. The page refresh action is a sort of
internal browser operation, for which the browser doesn't provide any
external notification

see also:
http://www.joel.net/code/refresh_capture.aspx
Already looking at this one.

I am looking at using ideas from his code to solve the problem from my
program dealing with the LoadViewState on the initial load problem.

I did find another problem that I didn't notice before with my code. I
didn't notice that my SaveViewState is being executed twice and I don't know
why. I put a trace statement in the function and found that it is being
called before the normal SaveViewState and during the SaveViewState.

aspx.page Begin Init
aspx.page End Init 0.000079 0.000079
aspx.page Begin PreRender 0.000116 0.000037
aspx.page End PreRender 0.000165 0.000049
Inside refresh.cs at SaveViewState 0.000880 0.000715
aspx.page Begin SaveViewState 0.001932 0.001053
Inside refresh.cs at SaveViewState 0.002330 0.000398
aspx.page End SaveViewState 0.002384 0.000054
aspx.page Begin Render 0.002411 0.000027
aspx.page End Render 0.137321 0.134909
Why would this happen?

Thanks,

Tom
>
Let me know if you find a definitive solution...

Tommaso

tshad ha scritto:
><to*********** ***@uniroma1.it wrote in message
news:11******* *************** @i3g2000cwc.goo glegroups.com.. .
Hi Tom,

I am afraid that is not exactly an "elementary " topic. Here is a more
authoritative source:

http://msdn.microsoft.com/msdnmag/is...8/CuttingEdge/

I looked there, but the article is about Script Callbacks.

That was interesting also, as I was looking at doing this (like Ajax) but
in
.net.

I knew you could do this in .net 1.1, but if what this is saying is
correct
then I can't do it.

"ASP.NET 2.0 provides a built-in mechanism for client callbacks based on
the
services of a COM object that ships with Internet Explorer 5.0 and later.
By
using the same object, you can implement a script callback mechanism in
ASP.NET 1.x as well"

I don't want to do it if you have to depend on the user using IE.

Thanks,

Tom
>
Let us know about the best solution... :)

Tommaso

tshad ha scritto:

"tshad" <ts**********@f tsolutions.comw rote in message
news:%2******* ***********@TK2 MSFTNGP05.phx.g bl...
<to************ **@uniroma1.itw rote in message
news:11******** **************@ b28g2000cwb.goo glegroups.com.. .
But what about the back button problem.
I think that user was right. It doesn't work in that case.
Actually, I did some work with the program and found that it also
doesn't
work on the inital page. It only works for PostBacks.

Looking into it I found that since LoadViewState is not called on an
initial
page load (makes sense as there would be no ViewState saved here),
there
is
nothing to test.

I need to find some other way to make it work or find a way to find
out
if
the initial page.

Tom

I know that that is also a problem and I am going to address that
problem
in a bit. But I needed to get the refresh problem taken care of
right
away.
The (almost) funny thing is that a guy has copied this article and
published it on Code Project site.
He also copied the bugs clearly ... :)

I agree.

But that allows someone else to at least get a starting point to
work
from.

Tom
Tommaso

tshad ha scritto:

I was able to get it to work after closer reading of the article.

************* *************** *************** *************** *********
Namespace MyFunctions

Public Class Page
Inherits System.Web.UI.P age
Private _refreshState As Boolean
Private _isRefresh As Boolean
Public ReadOnly Property IsRefresh() As Boolean
Get
Return _isRefresh
End Get
End Property
Protected Overrides Sub LoadViewState(s avedState As Object)
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))
_isRefresh = _refreshState = CBool(Session(" __ISREFRESH"))
End Sub 'LoadViewState
Protected Overrides Function SaveViewState() As Object
Session("__ISRE FRESH") = _refreshState
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates
End Function 'SaveViewState

End Class 'Page

End NameSpace
************* *************** *************** ****

In my page, I have to add an inherits:

<%@ Page Language="VB" trace="true" ContentType="te xt/html"
ResponseEncod ing="iso-8859-1" Inherits="MyFun ctions.Page"%>
...
trace.warn("i s Refresh = " & IsRefresh())

Then it works.

I am confused as to the code with the "allStates" and how it
works.

In LoadViewState:
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))

It seems to be getting the savedState from the parameters list,
then
I
think
it does the normal LoadViewState passing allStates(0) (which is
really
just
savedState - so why not just pass savedState??).

Also, what is allStates(1)?

In SaveViewState:
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates

I assume the MyBase.SaveView State() is just doing the normal
SaveViewSta te
and passes back the changed ViewState into allStates(0), what is
allStates(1 ) and why are we passing back allStates - does this
overwrite
the
ViewState that was written out by MyBase.SaveView State()?

Thanks,

Tom

<to********** ****@uniroma1.i twrote in message
news:11****** *************** @m73g2000cwd.go oglegroups.com. ..
Hi Tom,

see the remarks here made by a User:

http://jarednevans.typepad.com/techn..._techno_b.html

this method seems to fail when back button is pressed. You can
download
a demo.

Tommaso

tshad ha scritto:

I was looking for a way to handle refreshes (user pressed
refresh
button)
and found a piece of code to check if a Web page was refreshed
but
I
can't
get it to work.

The code is:
************* *************** *************** *************** **
Namespace StevenBey.Web.U I

Public Class Page
Inherits System.Web.UI.P age
Private _refreshState As Boolean
Private _isRefresh As Boolean
Public ReadOnly Property IsRefresh() As Boolean
Get
Return _isRefresh
End Get
End Property
Protected Overrides Sub LoadViewState(s avedState As Object)
Dim allStates As Object() = CType(savedStat e, Object())
MyBase.LoadView State(allStates (0))
_refreshState = CBool(allStates (1))
_isRefresh = _refreshState = CBool(Session(" __ISREFRESH"))
End Sub 'LoadViewState
Protected Overrides Function SaveViewState() As Object
Session("__ISRE FRESH") = _refreshState
Dim allStates(2) As Object
allStates(0) = MyBase.SaveView State()
allStates(1) = Not _refreshState
Return allStates
End Function 'SaveViewState
End Class 'Page

End NameSpace
************* *************** *************** *************** **

If I do a:

trace.warn("is Refresh = " & Page.IsRefresh)

or

trace.warn("is Refresh = " & IsRefresh)

I get the error:

BC30456 'IsRefresh' is not a member of
'System.Web.U I.Page'

I took the compiled version (StevenBey.Web. UI.dll) and put it
in
my
Bin
directory.

If you look at trace page you won't see __ISREFRESH?

Is there something else I need to do to get this to work?

Thanks,

Tom



Aug 25 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1608
by: Bob Hartung | last post by:
Hi all, I am a new php learner. I have Fecora Core 1 with apache2 and php installed on 1 pc and SuSE 9 with apache2 and php installed on a laptop. I have the following problem with both: I have a simple form: 1 field I submit with action=get and the value is passed. When the form refreshes the variable will NOT show with echo $username;
4
8589
by: alainpoint | last post by:
I am experimenting with ElementTree and i came accross some (apparently) weird behaviour. I would expect a piece of XML to be read, parsed and written back without corruption (except for the comments and PI which have purposely been left out). It isn't however the case when it comes to CDATA handling. I have the following code: text="""<html><head> <title>Document</title> </head>
111
14365
by: Retlak | last post by:
The recommended (on dozens of websites) and effective (works in Netscape, MSIE, Mozilla, probably others) way to detect if a browser has Javascript turned off is to put this in the <head>: <noscript> <meta http-equiv="refresh" content="1;url=http://yourURL/nojscript.html"> </noscript> This redirects to a doc which typically says "You need to enable
2
5760
by: Brian Idzik | last post by:
I've successfully setup a xhtml 1.0 strict page with Mozilla & Netscape to display links in a toolbar into an internal <div id='content'> within the same document. The toolbar uses some javascript, but mostly CSS class & id elements. Mozilla & Netscape work fine handling the toolbar submenus & contents, but IE6 misbehaves on several areas. On loading the page, the target div (id='content') will not display. When a menu item is...
7
3225
by: adnanx82 | last post by:
Hi, Does anyone know how a script can detect whether exception handling using try/catch blocks is supported in the browser, so that it can use them to perform better error handling, and a syntax error is not produced in cases where they are not supported? I know that IE and Netscape 5 and above support exception handling (and older versions don't), but I don't know about other browsers.
3
1847
by: Richard P | last post by:
I am experiencing some browser weirdness. My app uses session state to hide values I prefer to keep out of the querystring. I am testing to see what happens when cookies are fully disabled in IE 6 and NS 7. NS behaves as expected: it has no recall of previous requests. With IE however my app works as normal: I can still store and retrieve values from session state. Am I imagining this? If not it suggests to me that IE 6 always includes a...
0
1165
by: DC Gringo | last post by:
I have an asp.net age that refreshes when I resize the browser window. Is this necessary? I don't have any code in there for that...any ideas? -- _____ DC G
12
2785
by: scsharma | last post by:
Hi, I am working on creating a webapplication and my design calls for creating main webform which will have menu bar on left hand side and a IFrame which will contain all the forms that are shown when menu items are clicked.Besides these i would like to put a custom status bar. Any error message encountered in any of the webpage will be displayed in the banner. The problem iam encountering is how to access the customer status bar in child...
9
7793
by: Josh | last post by:
I run a Joomla website and am familiar with php in some but not all aspects. Currently I am trying to find some solutions related to session handling. Am I correct in saying that "login" is kept in sessions? I can see active sessions in my mysql database, but is that the only place this information is stored? Sessions and cookies I know are related also, but how specifically (session info stored in cookies?)? Right now, when users...
0
8432
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8343
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8758
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8545
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7364
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6185
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4179
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2762
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1986
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.