CyberStore Documentation
Login_Speedbump Widget

A widget designed to link a user to the My Account page and the redirect back after login. Introduced in v2.20.0 


The Login_Speedbump widget is designed to present a simply access message indicating that a login is required to access the page. It presents a link to the My Account page so that the user can login, and after doing so will be redirected back to the page they were at.

When using the Login_Speedbump widget, set the RequireAnonymous property of the LoadWidgetControl to true


See an example of how to load and configure this widget in SitePages.config.

<Control src="LoadWidgetControl.ascx" 
 Widget Source

The following is the source code for this widget.

Developer's Note:

To create a custom version of the widget, copy all of the code below into a file of the same name and place it into your Site's widgets folder (e.g., ../YourSiteFolder/Widgets). The CyberStore page engine will then override the default source with your customized version.

Type your example code here. It will be automatically colorized when you switch to Preview or build the help system.