I call a variable from a component to get a users location:
JRequest::getInt('CS_SESSION_LOCATIONID', null, 'COOKIE');
Only trouble is that in some case's I want to reset the value from a link. Any body got any idea how to clear CS_SESSION_LOCATIONID ?
I've tried: clear and various other methods, but cant seem to find a way. I'm basically looking to create a link which will re-direct to the index page & re-set the users selected location to nothing.
Any advice would be great.
Thanks.
您是否尝试取消设置($ variable)变量?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.