How to get user's current URL from Server?

JDX7913
Tera Guru

How can I get the user's current URL from the server script, instead of having to get it via client script and using c.server.get to send it to the server? Is it ever at all possible to do this from the server? 

1 ACCEPTED SOLUTION

I was able to achieve what I wanted from using the following:

gs.getProperty("glide.servlet.uri") + gs.action.getGlideURI();

 Thanks for the help though.

View solution in original post

2 REPLIES 2

Matthew Glenn
Kilo Sage

I'm not sure if this is the best way to accomplish it, but you could possibly grab what you need from the Transaction Logs:

System Logs -> Client Transactions

 

I was able to achieve what I wanted from using the following:

gs.getProperty("glide.servlet.uri") + gs.action.getGlideURI();

 Thanks for the help though.