[eluser]Anchal Gupta[/eluser]
[quote author="InsiteFX" date="1341753831"]If it is still not working then you have some thing wrong in your code. The MY_Session stops the update of the session if it is an ajax call.
I have a whole menu system that uses ajax and I have no problems, so take a look at what you are doing in your code. Some place you are over writing your session data.
If you are updating the same session variable then it will get over-written.
And just a note the page will not update for viewing variables unless there is a page refresh.
[/quote]
i have check code this work fine with the core php but when i use your code MY_SESSION then what i found my all previous session value get destroyed.
suppose i store in session two value
when i want to add more value to session with your MY_session class i loss my all session value i get one value in session which i have added by function
but when i use without MY_session class
i get this error
what i want:
when i pass value to ResponseOnline($qid,$response)
say i pass this funtion 23,43 through ajax i should store in session as Array([23]=>43)
when i pass this functino 51,100 through ajax i should store in session as Array([23]=>43
[51]=>100)
when i pass this function 55,21 through ajax is should store in session as Array([23]=>43
[51]=>100
[55]=>21)
when i pass this function 55,20 through ajax i should store in session as Array([23]=>43
[51]=>100
[55]=>20)
what i get:
for first pass i get Array([23]=>43)
for second pass as above i get Array([51]=>100)
for third pass i get Array([55]=>21)
for fourth pass i get Array([55]=>20)
any one please help me out