passing variable between methods

How can I pass @member varible from def member to def name and insert it
into name_id? These methods are in the same controller.

def member
    @member = params[:member] || ''
    member = @member
end

def name
    name_id = @member
end

IF IT IS STILL IN 1 DIRECT PROCESS, YOU CAN DO IT :

def member
    @member = params[:member] || ''
    member = @member
    name
end

def name
    name_id = @member
end

IF IT IS STILL IN DIFFENRENT PROCESS, YOU CAN DO IT :

def member
    @member = params[:member] || ''
    member = @member
    session[:member]= @member
end

def name
    name_id = session[:member]
    session[:member] = nil
end

IS IT ANSWERED??

Y Reinhart AP
TEAPOCI.BLOGSPOT.COM

Thank you very much. 100% what I needed. So, session[:member] = nil
kills the session each time name action is processed.