FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » Why a 302 redirect? (I am looking to change the 302 redirect use on user profile page when not logged-in)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Why a 302 redirect? [message #166910 is a reply to message #166907] Fri, 23 March 2012 20:51 Go to previous messageGo to previous message
rbenedetti is currently offline  rbenedetti   United States
Messages: 7
Registered: December 2010
Karma:
Junior Member
Hi,

Thanks again. A last note on this one.

I found the function
"function ses_anonuser_auth($id, $error)
{
if (!empty($_POST)) {
$_SERVER['QUERY_STRING'] = '';
}
q('UPDATE {SQL_TABLE_PREFIX}ses SET data='. _esc(serialize($error)) .', returnto='. ssn($_SERVER['QUERY_STRING']) .' WHERE id='. $id);
if ($GLOBALS['FUD_OPT_2'] & 32768) { // USE_PATH_INFO
header('Location: {FULL_ROOT}{ROOT}/l/'. _rsidl);
} else {
header('Location: {FULL_ROOT}{ROOT}?t=login&'. _rsidl);
}
exit;
}"

however I am not that technical. Can you give more info on the syntax so that I can try?

Thnaks again!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Quote depth limiter - mod or plugin
Next Topic: Add a canonical link to the message page
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Dec 11 21:20:05 GMT 2024

Total time taken to generate the page: 0.05387 seconds