Forums: [SOLVED] Session Variable - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

[SOLVED] Session Variable How to add session variable to URL prefix Rate Topic: -----

#1 User is offline   Jerome Wendell 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 38
  • Joined: 14-January 06

Posted 21 March 2017 - 08:24 PM

I have a field in a table that is edited as a text field and viewed as a hyperlink, with a URL prefix set. I would like to add the Session("UserID") value to the URL before the link is clicked on. I have also tried doing this making it a field that is edited as a text field and viewed as html. In that case I tried to access the Session("UserID") as part of the html string stored in the field. So far I have not been able to get it to work either way. Is this possible?

Thanks,

Jerome A. Wendell
0

#2 User is offline   admin 

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 15435
  • Joined: 03-February 03

Posted 22 March 2017 - 08:15 PM

I think you should use 'View as' Custom and build a custom URL that includes that session variable as a parameter.
Best regards,
Sergey Kornilov
0

#3 User is offline   Jerome Wendell 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 38
  • Joined: 14-January 06

Posted 22 March 2017 - 09:22 PM

View Postadmin, on 22 March 2017 - 04:15 PM, said:

I think you should use 'View as' Custom and build a custom URL that includes that session variable as a parameter.


Sergey,

Thank you very much for the tip. I really appreciate it. That did the trick and it is now working the way that I wanted.

Thanks,

Jerome A. Wendell
0

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked