Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 15 Apr 2017, 01:11
5to10pm 5to10pm is offline
 
Join Date: Apr 2017
Logout code not working.

I modified my php.ini to set session domain


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In VB, I changed cookie domain to .maindomain.com. And implemented single sign on on external page using this code. Using latest vBulletin i.e. 5.3.0
I also want to implement auto logout feature. So here is the code that I wrote:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

But the above code is not working. somebody, please provide working external logout script.

Thank you in advance

--------------- Added 15 Apr 2017 at 02:25 ---------------

I don't know why, but deleting the cookies after calling the logout did the trick


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by 5to10pm; 15 Apr 2017 at 02:28.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logout Button replacing Logout text TheMusicMan vBulletin 3.5 Template Modifications 14 25 Dec 2007 19:33



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 04:11.

Layout Options | Width: Wide Color: