Technology, Web & Business Forum

You are here: Technology, Web & Business Forum : Web Development : Programming : ColdFusion, How do I end a session?


Welcome to the Technology, Web & Business Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.


Programming Discuss programming languages such as .NET, PHP, PERL, ASP, ColdFusion, C++


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-28-2008
Junior Member
 
Join Date: Mar 2008
Posts: 1
Default ColdFusion, How do I end a session?

Sounds simple, All I want to do is end the session completely when the user hits logout, Now as it stands when the user clicks logout they get redirected to the homepage, the logout links all change back into login or register links and the username is no longer displayed for them in the corner.

The only thing is though, If they go into the profile of the user they were signed in as, the edit button is still there and they can change the profile all they want. After they click logout I want to terminate the session completely so the link will not appear. The link is in an if statement to see if the user is in the session so obviously the reason the link still appears is the session is not terminated so that's all I want to do. Google just gives me answers on how to set it up so a complete browser exit ends the session but that's not what I want.

As always any help at all is appreciated
__________________
Powered by Yahoo! Answers
Reply With Quote
  #2 (permalink)  
Old 03-28-2008
Junior Member
 
Join Date: Mar 2008
Posts: 1
Default

I think you will need to use the J2EE servlet session managment.
This would allow you to be able to manually terminate a session while maintaining the client identification cookie for use by the Client scope.

More info than I can offer here can be found here...
http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm

See ColdFusion and J2EE session managment.
__________________
Powered by Yahoo! Answers
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 09:42 AM.