PDA

View Full Version : Custom Misc Pages (using Post variables) Logging Out


chsmith700
12-08-2009, 08:28 PM
Hey guys,

I have three misc pages in which my members can post various youtube links and upload images regarding video games. However in IE, if you get to that page and try to refresh it shows me as being logged out, but if I hit the forums tab, I am logged back in.

Any question as to what I could be doing wrong.

--------------- Added 1260311426 at 1260311426 ---------------

Additionally, I am not using sessionhash on these pages, should I be?

Lynne
12-08-2009, 08:39 PM
Did you build the custom pages using the basic article here - [How-To] vBulletin API Basics: Creating Custom Pages & Misc. (https://vborg.vbsupport.ru/showthread.php?t=98009) And are they in the same folder as the rest of your vb files?

chsmith700
12-08-2009, 08:47 PM
Yes, could the reason be that I am not including the session, and is the session code the same on VB4?

These pages were built in the same folder as my VB files. So should just adding the
$vbulletin->session->vars['sessionurl']
To my links correct my logging out issue?

Lynne
12-08-2009, 09:39 PM
I don't think so as I have a few custom pages on my site and when I have users follow the links to them, I don't have the session var passed and we stay logged in.

Are users able to be on your site at both www.yoursite.com and just yoursite.com? Could that be an issue here?

chsmith700
12-09-2009, 03:40 AM
They actually are logged in on those pages, however when they hit F5, or refresh, it then goes in like they are logged out, but if they hit back to the Forums tab, shows them as logged in. I am fairly certain this is a IE8 issue, as it doesnt actually happen on Firefox.