RTC Forums
November 25, 2024, 12:04:36 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Login
Register
RTC Forums
>
Subscription
>
Support
>
Looking for really simple Cookie/Authentication example
Pages: [
1
]
« previous
next »
Print
Author
Topic: Looking for really simple Cookie/Authentication example (Read 4457 times)
Andrew.W
RTC License
Posts: 43
Looking for really simple Cookie/Authentication example
«
on:
December 31, 2010, 03:13:55 PM »
Hi Daniel
My application has console pages. I'd like to have the user (quite often me!) to be forced to enter a password before accessing any of the console pages. The console pages are currently hidden behind a firewall but I need to make the accessible on the Internet.
I'll then give the browser a cookie. When any page is accessed, I want to be able to ask for, and receive, the cookie back so I can verify this.
Can you recommend an example, of give me a few pointers?
I don't know if it matters, but my app does not use the session management that's part of RTC.
Cheers,
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: Looking for really simple Cookie/Authentication example
«
Reply #1 on:
December 31, 2010, 03:21:08 PM »
You need to have some kind of Server-side storage. This could either be done using RTC Sessions or something else you implement yourself.
Here is simple example which demonstrates the
use of HTTP Cookies, utilizing RTC Sessions for Server-side storage
.
Best Regards,
Danijel Tkalcec
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Dashboard
-----------------------------
=> General
=> 3rd-Party
=> Quick Start
-----------------------------
Subscription
-----------------------------
=> Support
Loading...