Skip to content

Commit e1f11c1

Browse files
authored
Fixed broken links in session documentation (#52)
1 parent abbf23f commit e1f11c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

website/source/counters/session.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ LET UserHourSession := sessionize(BY User EVERY 1 HOUR);
2121

2222
From now on, whenever the user performs an action (logs in, sends a message, makes a payment, etc) we will check to see if a session exists. If no session exists, we will create a session that lasts for one hour.
2323

24-
![Creating a one hour session](../images/session/one_session.jpeg)
24+
![Creating a one hour session](../sqrl/images/session/one_session.jpeg)
2525

2626
If the specified time elapses with no activity, the current session is destroyed. Any subsequent event will create a new session.
2727

28-
![Creating a new session after too much time has elapsed](../images/session/two_sessions.jpeg)
28+
![Creating a new session after too much time has elapsed](../sqrl/images/session/two_sessions.jpeg)
2929

3030
If the session does exist, then we will extend the current session’s window by an additional hour.
3131

32-
![Extending a session](../images/session/extended_session.jpeg)
32+
![Extending a session](../sqrl/images/session/extended_session.jpeg)
3333

3434
It is important to note that each session gets its own unique ID. This identifier can be used in simple counters, unique counters, or rate-limits to identify suspect behavior and can even be used to determine the age of the session since we embed timestamps in all Smyte IDs.
3535

@@ -66,7 +66,7 @@ LET MessageHourSessionAgeInHours := dateDiff(
6666

6767
Remember that as soon as an hour has elapsed with no activity the session is destroyed and a new one will be created. This means that if a user has a message session that is 24 hours old they have been actively sending messages for the past 24 hours straight! This type of behavior often indicates that the user is in fact a bot.
6868

69-
![Bot session](../images/session/bot_session.jpeg)
69+
![Bot session](../sqrl/images/session/bot_session.jpeg)
7070

7171
With this insight, you can easily create a rule to flag and review this suspicious behavior.
7272

0 commit comments

Comments
 (0)