News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

ssi_welcome and redirecting

Started by wakewatcher, December 04, 2008, 02:09:16 AM

Previous topic - Next topic

wakewatcher

I notice that unlike ssi_login that ssi_welcome does NOT redirect after login if the login session variable is set.  Is there a way so that it will?  Rather than build my own login screen I'd just prefer to use the smf one but redirect back to my application after the login is done.  Is this possible?
smf 2.0.18

H

Sorry for the late response. Do you still require assistance with this?

If so, did you try setting $_SESSION['login_url'] inside the function?
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

wakewatcher

Thanks.  Yes that is what I did.
smf 2.0.18

H

-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

effex

Sorry, to bump someone's already answered thread, but can someone give me an example of how this would look putting the login url in the function. I'm not quite sure of the syntax.

Advertisement: