In previous article Creating a Custom Login Page for FBA in SharePoint 2010 – Part1, I walkthrough you all how to create custom login page for FBA using OOTB default.aspx page.
Now its time to do some customization with code for logged in user to redirect on particular subsite.
Goal: Redirect user to particular subsite
In this article, i will explain how to customize code in default.aspx page (which resides in _forms folder of your web application)
I wrote inline coding in tag as below snap.
After implementing this code i am able to redirect user on particular subsite.
Great work Kirti!
of course like your website however you have to
take a look at the spelling on several of your posts.
A number of them are rife with spelling issues
and I to find it very troublesome to tell the truth on the other hand I’ll surely come again again.
when I used Response.Redirect(SpContext.current.web.url); or when I used Response.Redirect(SpContext.current.web.url,false); it gave an error : Access is denied. although the user name is administrator of the site !! plz note that the first page is a custom login FBA using Ldap
Greate pieces. Keep writing such kind of info on your blog. Im really impressed by your blog.
Hello there, You have done an incredible job. I’ll definitely digg it and personally suggest to my friends. I am sure they will be benefited from this site.
Spot on with this write-up, I actually suppose this website needs rather more consideration. I’ll probably be again to read way more, thanks for that info.