G
Guest
Hello.
I have a common area of a website that sales agents use. I got sick and
tired of typing response.redirect(path)
so i implemented a shared function in Global that i can call and all i have
to do is pass an AgentService enum to it and global will response.redirect
for me.
So instead of typing
Response.Redirect(Global.GetApplicationPath &
"Agents/Pages/Agent_Profile.apsx?aaid=45" etc etc)
I just type
Global.GotoAgentService(Me.response, AgentService.MessageCenter)
With intellisense filling in most of it for me.
Are there any pitfalls to redirecting from Global...given that it's such
special file. I dont want to get caught out by some invisible hand.
TIA
Richard
I have a common area of a website that sales agents use. I got sick and
tired of typing response.redirect(path)
so i implemented a shared function in Global that i can call and all i have
to do is pass an AgentService enum to it and global will response.redirect
for me.
So instead of typing
Response.Redirect(Global.GetApplicationPath &
"Agents/Pages/Agent_Profile.apsx?aaid=45" etc etc)
I just type
Global.GotoAgentService(Me.response, AgentService.MessageCenter)
With intellisense filling in most of it for me.
Are there any pitfalls to redirecting from Global...given that it's such
special file. I dont want to get caught out by some invisible hand.
TIA
Richard