Would it not just be ?
var page = DataFactory.Instange.GetPage(pageRef);
var repository = EPiServer.ServiceLocation.ServiceLocator.Current.GetInstance<IContentRepository>();
var v = repository.Get<IContent>(new ContentReference(intValue));
So I need to know the id of the page so that I can pass that into the ContentReference constructor?
Yes all page's have a PageReference
You can store this ID either in a config file, database table or store it as a property on a page type (start page normally).
I have a login form on my layout which posts to a controller that uses Membership to validate the user.
Once validated, I want to redirect them to a specific page.
How do I do this the "EPiServer Way"? I could just enter the url manually but that doesn't feel right. I also need to take into consideration which language branch the user is currently using.