Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

Is there a way to empty the session file with PHP? -


i'm wondering if can destroy/modify sessions in native php way doesn't involve file i/o directives.

i'm not talking $_session, i mean access session files themselves.

for instance, php stores sessions on linux files:

@lamp:/var/lib/php5$ ls sess_301dc8935f1775312e9007431782c68b sess_6892f0bec257e646d193adfd91233c40 sess_966909941003dd6fd333727d8862be6e sess_cb7c07117cef89674a686ffff8a730f2 sess_ffb4db1d9002741b7e0fcc02090b9aaa sess_305aeb0fdba7548e389394cb31d77c3b .... etc 

$_session gives value of what's inside current session, , session_start() , session_destroy() terminate current session identifier.

i want know if can destroy or modify sessions globally in native way php doesn't resort me having fopen(/var/lib/php5/sess_whatever), don't want work current session, want script able either delete or modify sessions outside of $_session, session_start, , session_stop do, force use present session.

sounds me can't have both ways. session handling functions built interact current session. in order manipulate other sessions have go whole fopen() route.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -