Ask a Question related to Macromedia ColdFusion, Design and Development.
-
MaxSommer #1
logout
Howdy,
I have a question regarding logout page.
Scenario: A user use login fine, bookmarks a page and then use logout
successfully.
When user open the page using bookmark, gets an error message (userid) instead
of being directed to the login page. Can you help? I'm not sure but I think
it has to do with sessions or maybe the page is cached?
Thanks
MaxSommer Guest
-
Logout from FMS connection using PHP
Hello, Is it possible to disconnect from the FMS host site connection by using PHP scripts only? Like clicking a logout button or something. ... -
Can't logout administrator
I can't logoff the administrator. everytime I launch the administrator it automatically logs in. The log off button doesnot work. How can I log it... -
inactivity logout
I have a Flex application that I would like it to logout (essentially call a function) when there is no activity for a given time. (No mouse... -
logout button
I have a login page that displays a name/pw submit button. Currently a user submits these values and, if validated a sessio variable is creaetd... -
soundserver/ logout
Log Out & sound server 1st i've had debian 3.0 rev1 loaded on my computer for a few days now and seems to be working fine. with the exception of... -
MaxSommer #2
logout
Howdy,
I have a question regarding logout page.
Scenario: A user use login fine, bookmarks a page and then use logout
successfully.
When user open the page using bookmark, gets an error message (userid) instead
of being directed to the login page. Can you help? I'm not sure but I think
it has to do with sessions or maybe the page is cached?
Thanks
MaxSommer Guest
-
blewis #3
Re: logout
It would have a bit to do with how you structured your appliction. Do you
have an application.cfm file for these web pages? Does it check to see if a
user is logged in? Usually you should use an app.cfm and then do a check in it
to see if the user is logged in, if not, redirect to the login form. If you
give more detail, I may be able to explain further.
Bryan
blewis Guest
-
mashakela #4
Logout
:( I have flex application, but the login page codded in jsp (login.jsp). so
what I need to do is when the user clicks the logout tab in the flex
application this will close the application and take him to the login page. the
problem is how do I call the jsp page from Flex applicaion. any help in this
subject will be appreciated.
Thank you very much,
mashakela
mashakela Guest
-
bdeen #5
Re: Logout
you can try getUrl('logout.jsp'); have the logout.jsp log the user out and
then redirect to login.jsp.
you can have a remoteobject that will do session.invalidate(); //which should
be the same as logout. then do getUrl('login.jsp');
you can do HttpService to logout.jsp and the do getUrl('login.jsp');
when you use getUrl like this I believe it should use the window that your
flex app is opened in.
bdeen Guest
-
Dave Wolf #6
Re: Logout
bdeen wrote:
In most J2EE servers you are not allowed to call login.jsp directly.> you can try getUrl('logout.jsp'); have the logout.jsp log the user out and
> then redirect to login.jsp.
>
> you can have a remoteobject that will do session.invalidate(); //which should
> be the same as logout. then do getUrl('login.jsp');
>
> you can do HttpService to logout.jsp and the do getUrl('login.jsp');
>
> when you use getUrl like this I believe it should use the window that your
> flex app is opened in.
>
Simply instead on your logout page do a redirect to a page which is
secured by your security-constraint. So your logout page might look like
<%@ page language="Java"%>
<%
session.invalidate();
response.sendRedirect("/index.jsp");
%>
Now, you will be logged out and redirected to index.jsp. Assuming
index.jsp as a security-constraint on it, the container will throw up
the login.jsp challenge.
--
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
[url]http://www.cynergysystems.com[/url]
Email: [email]dave.wolf@cynergysystems.com[/email]
Office: 866-CYNERGY x85
Dave Wolf Guest
-
mashakela #7
Re: Logout
Thank you bdeen and Dave for the reply, actually I don't have logout.jsp file
yet, what I tried to do was to call login.jsp from the main flex applicaion's
actionScript file. as Dave said I should have logout.jsp, so can I create
logout function using the actionScript file instead of jsp and then call
login.jsp form that function via getUrl("login.jsp");
Thank you for your help
mashakela
mashakela Guest
-
Dave Wolf #8
Re: Logout
mashakela wrote:
Look carefully at what I said though. Most J2EE servers will be very> Thank you bdeen and Dave for the reply, actually I don't have logout.jsp file
> yet, what I tried to do was to call login.jsp from the main flex applicaion's
> actionScript file. as Dave said I should have logout.jsp, so can I create
> logout function using the actionScript file instead of jsp and then call
> login.jsp form that function via getUrl("login.jsp");
>
> Thank you for your help
> mashakela
>
unhappy if you call the login form directly. They assume the login form
is hidden, and is a "challenge" for a request for a protected resouce.
Dont redirect to "login.jsp" and dont do it from AS. Let your
logout.jsp do it, and do the redirect from there.
--
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
[url]http://www.cynergysystems.com[/url]
Email: [email]dave.wolf@cynergysystems.com[/email]
Office: 866-CYNERGY x85
Dave Wolf Guest
-
DaFallus #9
Logout
I've been playing around with the Chat.mxml which is part of the
Collaborative Dashboard demo included in Flex Data Services Express.
So far I have been able to have the chat application announce the name
of a new user when they enter the chat application. What I would like
to do now would be to have a similar announcement for when a user
leaves.
Is there an onClose event I could use to call the announcing function
or would I have to set up a way to basically ping the users and check
their status that way?
Any help will be greatly appreciated.
DaFallus Guest
-
malaschitz.conf@gmail.com #10
Re: Logout
It is not possible use object FlexSession and
addSessionDestroyedListener() method for it ?
DaFallus napísal(a):> I've been playing around with the Chat.mxml which is part of the
> Collaborative Dashboard demo included in Flex Data Services Express.
> So far I have been able to have the chat application announce the name
> of a new user when they enter the chat application. What I would like
> to do now would be to have a similar announcement for when a user
> leaves.
>
> Is there an onClose event I could use to call the announcing function
> or would I have to set up a way to basically ping the users and check
> their status that way?
>
> Any help will be greatly appreciated.malaschitz.conf@gmail.com Guest



Reply With Quote

