I need to expire previous page so that my users cannot go back to the previous and change the data inside it.Can anyone give me some idea or example on doing this?
johnsonlim026
0
Newbie Poster
Recommended Answers
Jump to PostAre you using any Authentication?
Do you want to expire the cookies?
Jump to PostNo you dont actually need Authentication to clear the cache.If you use authentication you can have better control on your application.
For your application ,
Just add this code to the page load.Response.Buffer = True Response.ExpiresAbsolute = Now().Subtract(New TimeSpan(1, 0, 0, 0)) Response.Expires = 0 …
All 6 Replies
Letscode
1
Junior Poster
johnsonlim026
0
Newbie Poster
Letscode
1
Junior Poster
psmitra
0
Newbie Poster
hirenpatel53
-1
Posting Whiz in Training
sudheer06mca
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.