Community discussions

MikroTik App
 
User avatar
bjohns
Member Candidate
Member Candidate
Topic Author
Posts: 271
Joined: Sat May 29, 2004 4:11 am
Location: Sippy Downs, Australia
Contact:

What is the purpose of 'var' in the hotspot servlet?

Tue Jan 11, 2005 7:57 am

"var - value of 'var' parameter in the last request"

Can anyone explain this and/or provide examples of its use?

Thanks.
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Mon Jan 17, 2005 1:55 pm

You can pass a custom variable in the hotspot request and it will be available under that name everywhere in the servlet.
 
DomiNosroB
just joined
Posts: 13
Joined: Tue Oct 12, 2004 7:29 pm
Location: College Station
Contact:

Wed Jan 26, 2005 12:22 am

How do you pass a custom variable?
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Wed Jan 26, 2005 1:55 pm

Append it after '?' in the http request, e.g.
http://www.example.com?user=user&password=password&myvariable=value

Who is online

Users browsing this forum: patrikg and 30 guests