hi ,

well i have searched a lot for this , perhaps i am just unlucky enough   not
to hit the bulls eye , so i ask again in this forum ...


Well i am using  jquery for calling a remote function . I am also using the
CODEIGNITER MVC . i write something like this :


$.post("index.php/login/ajaxlogin" , {email : username , pass : password } ,
function(data) 
                                {  


                                         //  CODE HERE
                                 




                                 }




Now lets say my url  is  : www.XYZ.com/index.php/welcome


if i directly type thus URL in the adress bar and press enter .. my ajax
call doesnt work :(   . however if i reach at the same url following a
hyperlink somewhere in my website  the ajax routine works  perfectly !

The error in  the first case : 

Access to restricted URI denied" code: "1012



I have tried every possible way to sort this matter out. i am not on my
development pc but on a web server .  

please do  help me out ...



-- 
View this message in context: 
http://www.nabble.com/Common-Problem-%3A%3A-Access-Restricted-for-URI-tp22891980s27240p22891980.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to