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.

Webkit browsers (Chrome, Safari) are loading pages redirected from .htaccess twice! -


i have problem. when visit page php code:

$_session['test']++; echo $_session['test']; 

and page redirected throught .htaccess

rewriteengine on rewritebase / rewritecond %{request_filename} ^(.+)\.php$ rewritecond %{request_filename} !-d rewriterule ^([^/]+)\.php index.php?rw=1&page=$1 [qsa,l] 

so in non-webkit browsers see 1, on next refresh 2, 3, 4, 5 ... in chrome or safari see 1, 3, 5, 7, ...

does have idea how solve it? need every page redirect index.php , load content ... every f***ed redirect has same result ... twice loaded! when there mysql query, processed twice, ... :-/

thank you! :)

problem was, there were:

<iframe src="#"></iframe> 

webkit has got problems it, , load pages twice ... solution is

<iframe src="http://www.example.com/blankpage.html"></iframe> 

it all!!! after 10 hours of madness ... :-/


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 -