0

Hi one of my friend have this problem.. it will be helpful if we can give him a solution.

The session is set for 10 min .. but for one particular page the session must be extended and for other pages it must be set as before.. or resetted so that it will take from the xml file.
Thanks in advance.

3
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by vgkarthi
1

Try adding the following to the top of your php file(s)

setcookie ('PHPSESSID', $_COOKIE['PHPSESSID'], time()+172800);
0

Hi one of my friend have this problem.. it will be helpful if we can give him a solution.

The session is set for 10 min .. but for one particular page the session must be extended and for other pages it must be set as before.. or resetted so that it will take from the xml file.
Thanks in advance.

Think about setting two different sessions one for the entire website (for suration 10 min in your case) and the another for that particular page.And check both the sessions on that page but only first session rest of the pages.

0

Try adding the following to the top of your php file(s)

setcookie ('PHPSESSID', $_COOKIE['PHPSESSID'], time()+172800);

hi dude,,
thanks for your reply.. using your code.. my friend got some idea and he finally did it.. thanks for your effort.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.