ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

i have a problem with sessions

October 28, 2008 2:27am

Subscribe [3]
  • #1 / Oct 28, 2008 2:27am

    kristianmercado

    2 posts

    Hi my friends

    I am trying to make an applicationto register users and i would liketo use sessions, i would like to know if i can use the php functions like session_start(); or other functions to use sessions,
    if you have an example it would be better, i have tried but its difficult i dont know if i can have a validation function in a controller class for example

    class Mycontroller extends controllers()
    {
    ....
    ..
    function validation()
    {
      ......
      session_start()
      ......
    }
    
    
    }

    Cristian

  • #2 / Oct 28, 2008 5:42am

    narkaT

    113 posts

    you could use the php session or the CI-session library.
    I would recommend the CI-library 😉

  • #3 / Oct 28, 2008 5:44am

    bigtimslim

    59 posts

    I found everything I needed to do with sessions in the documentation. If you haven’t already, read it.

    edit: whoops.. you got in before me with that

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases