Logout issue and resolution

Contains tips for configurators working with Aware IM
Post Reply
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Logout issue and resolution

Post by tford »

Scenario: You have tried to use the Logout menu item with a URL like http://www.domainname.com/test.[b]html[/b] and it does not behave as expected when users click the Logout menu item.

Solution: Html pages are not able to receive the POST that AwareIM sends on logout, but dynamic pages such as php or asp do. The server knows this and will throw an error if you try to post to a static page. So if you rename the receiving page to a dynamic suffix, the server will not throw this error, even though the receiving page has not been programmed to do anything with the posted data.

Changing the example to http://www.domainname.com/test.[b]php[/b] solves it!


Thanks very much to both pbrad & AwareIM support for the solution!!

Tom
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

I switched servers of the landing page recently & found out that the to use a .asp extension, the following line needed to line to the .htaccess file:

AddType text/html .asp
Tom - V8.8 build 3137 - MySql / PostGres
Post Reply