[wp-hackers] Simple PHP Session in WP

William Satterwhite whsatterwhite at gmail.com
Sun Feb 10 22:39:52 UTC 2013


This is a fairly bare bones article that displays the use of sessions with
WordPress.

http://devondev.com/2012/02/03/using-the-php-session-in-wordpress/

Best,
Hunter

On Sun, Feb 10, 2013 at 2:36 PM, Rafael Ehlers <rafaehlers at gmail.com> wrote:

> Use it on init hook!
>
> Em domingo, 10 de fevereiro de 2013, Sinan escreveu:
>
> > I wanna use php sessions with normal way.
> >
> > session_start();
> >
> > if(isset($_GET['add'])){
> >  $_SESSION['sepet_'.$_GET['add']];
> >  }
> >
> > echo $_SESSION['sepet_'.$_GET['add']];
> >
> >
> >
> > How can I make this working?
> >
> > --
> > Sinan
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com <javascript:;>
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
Hunter Satterwhite
http://linkedin.com/in/hsatterwhite
(252) 762-5177


More information about the wp-hackers mailing list