Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
JigsFusion #1
How to restrict the user to go back ones the user haslogged out. Or, if he goes back, how to generate custom errorfor
:music; How to restrict the user to go back ones the user has logged out. Or, if he goes back, how to generate custom error for Page Expire ? :music;
JigsFusion Guest
-
How do I know if a user has reached my page byhitting the Back Button?
would those variables be processed on the Server or Client side? -
How do I know if a user has reached my page by hittingthe Back Button?
I have an online store that is having a problem because if a user's order fails, they're hitting the back button to re-enter their payment... -
Restrict the user to go back
How to restrict the user to go back ones the user has logged out. Or, if he goes back, how to generate custom error for Page Expire Error ? -
can you pass user created class back and forth with web services?
My web service and client are trying to send objects of a user defind class. There are 3 projects in my solution: 1)BusinessObject -->contains a... -
Preventing user from clicking Back?
try this Response.Cache.SetCacheability(HttpCacheability.ServerAndNoCache); or any flavor of the httpcacheability enum "Karl"... -
JigsFusion #2
How to restrict the user to go back ones the user haslogged out. Or, if he goes back, how to generate custom errorfor
:music; How to restrict the user to go back ones the user has logged out. Or, if he goes back, how to generate custom error for Page Expire ? :music;
JigsFusion Guest
-
Another Phil #3
Re: How to restrict the user to go back ones the userhas logged out. Or, if he goes back, how to generate customerror for
One way is to use the following type of code (relative of course to your
system, I am assuming you are using a login page and sessions):
In the templates of your system:
<cflock timeout="60" scope="session" type="readonly">
<cfif Not IsDefined("session.uid")>
<cflocation url="login.cfm?info=NotLogged">
</cfif>
</cflock>
In the login page wherever wherever it makes the most sense:
<cfif IsDefined('url.info')>
** You attempted to access a page without logging in. Please login to
view these pages **
</cfif>
This will show an error message as well as allow the user to login without
having to click to another area on your page.
-Phil
Another Phil Guest



Reply With Quote

